]> source.dussan.org Git - jquery-ui.git/commitdiff
sortable: beforeStop should work properly in all cases now
authorPaul Bakaus <paul.bakaus@googlemail.com>
Fri, 15 Aug 2008 09:11:21 +0000 (09:11 +0000)
committerPaul Bakaus <paul.bakaus@googlemail.com>
Fri, 15 Aug 2008 09:11:21 +0000 (09:11 +0000)
ui/ui.sortable.js

index 81b71fb24f9ecd30b22ae39e6d46a5dc74cf3f9f..6cade43717aa44fc7b89361b1e18f3e5e0b13501 100644 (file)
@@ -690,6 +690,7 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
                
                this.dragging = false;
                if(this.cancelHelperRemoval) {
+                       this.propagate("beforeStop", e, null, noPropagation);
                        this.propagate("stop", e, null, noPropagation);
                        return false;
                }