Skip to content
Permalink
Browse files

Fixed draggable bug that affects the droppable critically - $.ui.ddma…

…nager.current could not be null
  • Loading branch information
eduardolundgren committed Jun 9, 2008
1 parent 58e23c8 commit 711c1063147a0bdaf589223d335ec83f0679587f
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.draggable.js
@@ -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;
},

0 comments on commit 711c106

Please sign in to comment.
You can’t perform that action at this time.