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