Fixed bug with other jquery drag drop stuff (like sorting apps in the sidebox menu in the stylite template) not working correctly

This commit is contained in:
Andreas Stöckel 2011-06-19 11:15:37 +00:00
parent 0991eed64a
commit 4a1d2cd72c

View File

@ -272,6 +272,8 @@ function egwDropActionImplementation()
$(node).droppable(
{
"accept": function(_draggable) {
if (typeof _draggable.data("ddTypes") != "undefined")
{
var accepted = ai._fetchAccepted(
_callback.call(_context, "links", ai, EGW_AO_EXEC_THIS));
@ -288,6 +290,7 @@ function egwDropActionImplementation()
}
return true;
}
},
"drop": function(event, ui) {
var draggable = ui.draggable;