mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Fixed draggable bug that affects the droppable critically - $.ui.ddmanager.current could not be null
This commit is contained in:
parent
58e23c8228
commit
711c106314
@ -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;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user