]> source.dussan.org Git - jquery-ui.git/commitdiff
draggable: fixed #2791
authorPaul Bakaus <paul.bakaus@googlemail.com>
Mon, 26 May 2008 11:39:25 +0000 (11:39 +0000)
committerPaul Bakaus <paul.bakaus@googlemail.com>
Mon, 26 May 2008 11:39:25 +0000 (11:39 +0000)
ui/source/ui.draggable.js

index 21f0b868c454bb4d95c68520f7e1f92fca7b6692..a17922b0f489701a76dcae1285734ff1a38f4e08 100644 (file)
@@ -31,7 +31,7 @@
                mouseStart: function(e) {\r
                        var o = this.options;\r
                        \r
-                       if (o.disabled || $(e.target).is('.ui-resizable-handle')) return false;\r
+                       if (this.helper || o.disabled || $(e.target).is('.ui-resizable-handle')) return false;\r
                        \r
                        var handle = !this.options.handle || !$(this.options.handle, this.element).length ? true : false;\r
                        if(!handle) $(this.options.handle, this.element).each(function() {\r