aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.sortable.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.sortable.js')
-rw-r--r--ui/ui.sortable.js12
1 files changed, 8 insertions, 4 deletions
diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js
index 9718dd1bc..4cc200bef 100644
--- a/ui/ui.sortable.js
+++ b/ui/ui.sortable.js
@@ -276,10 +276,7 @@ $.widget("ui.sortable", $.extend($.ui.mouse, {
};
},
- mouseStart: function(e, overrideHandle, noActivation) {
-
- var o = this.options;
- this.currentContainer = this;
+ mouseCapture: function(e, overrideHandle) {
if(this.options.disabled || this.options.type == 'static') return false;
@@ -300,6 +297,13 @@ $.widget("ui.sortable", $.extend($.ui.mouse, {
}
this.currentItem = currentItem;
+ return true;
+
+ },
+ mouseStart: function(e, overrideHandle, noActivation) {
+
+ var o = this.options;
+ this.currentContainer = this;
this.refresh();