mirror of https://github.com/ColorlibHQ/AdminLTE
parent
d114eabfe6
commit
903143a1e1
|
@ -889,7 +889,6 @@
|
||||||
new Draggable(containerEl, {
|
new Draggable(containerEl, {
|
||||||
itemSelector: '.external-event',
|
itemSelector: '.external-event',
|
||||||
eventData: function(eventEl) {
|
eventData: function(eventEl) {
|
||||||
console.log(eventEl);
|
|
||||||
return {
|
return {
|
||||||
title: eventEl.innerText,
|
title: eventEl.innerText,
|
||||||
backgroundColor: window.getComputedStyle( eventEl ,null).getPropertyValue('background-color'),
|
backgroundColor: window.getComputedStyle( eventEl ,null).getPropertyValue('background-color'),
|
||||||
|
@ -997,7 +996,7 @@
|
||||||
'border-color' : currColor,
|
'border-color' : currColor,
|
||||||
'color' : '#fff'
|
'color' : '#fff'
|
||||||
}).addClass('external-event')
|
}).addClass('external-event')
|
||||||
event.html(val)
|
event.text(val)
|
||||||
$('#external-events').prepend(event)
|
$('#external-events').prepend(event)
|
||||||
|
|
||||||
// Add draggable funtionality
|
// Add draggable funtionality
|
||||||
|
|
Loading…
Reference in New Issue