aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.resizable.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.resizable.js')
-rw-r--r--ui/ui.resizable.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js
index ea44837f7..8975a75f5 100644
--- a/ui/ui.resizable.js
+++ b/ui/ui.resizable.js
@@ -257,7 +257,9 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
_destroy(wrapped);
}
},
- _mouseStart: function(e) {
+
+ _mouseCapture: function(e) {
+
if(this.options.disabled) return false;
var handle = false;
@@ -266,6 +268,12 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
}
if (!handle) return false;
+ return true;
+
+ },
+
+ _mouseStart: function(e) {
+
var o = this.options, iniPos = this.element.position(), el = this.element,
num = function(v) { return parseInt(v, 10) || 0; }, ie6 = $.browser.msie && $.browser.version < 7;
o.resizing = true;