Fixed draggable bug that affects the droppable critically - $.ui.ddmanager.current could not be null

This commit is contained in:
Eduardo Lundgren 2008-06-09 06:53:37 +00:00
parent 58e23c8228
commit 711c106314

View File

@ -236,7 +236,7 @@ $.widget("ui.draggable", $.extend($.ui.mouse, {
clear: function() {
this.helper.removeClass("ui-draggable-dragging");
if(this.options.helper != 'original' && !this.cancelHelperRemoval) this.helper.remove();
if($.ui.ddmanager) $.ui.ddmanager.current = null;
//if($.ui.ddmanager) $.ui.ddmanager.current = null;
this.helper = null;
this.cancelHelperRemoval = false;
},