mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-02-02 06:55:14 -05:00
Fixed draggable bug that affects the droppable critically - $.ui.ddmanager.current could not be null
This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user