aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.resizable.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-06-09 00:46:00 +0000
committerScott González <scott.gonzalez@gmail.com>2009-06-09 00:46:00 +0000
commit8634ba993ceec7c9bbd34b6e0e2a666494b385a4 (patch)
tree5033d6ec9e3b0bf57821b337b5d7a87b3e705936 /ui/ui.resizable.js
parentce94b548d012b74862d35c80a235ecaa31717dc8 (diff)
downloadjquery-ui-8634ba993ceec7c9bbd34b6e0e2a666494b385a4.tar.gz
jquery-ui-8634ba993ceec7c9bbd34b6e0e2a666494b385a4.zip
All mouse-based plugins: Extend $.ui.mouse.defaults. Changed $.ui.mouse.defaults.cancel to ":input,option" which is used by every plugin as its default. Fixes #4584 ($.ui.mouse.defaults never used).
Diffstat (limited to 'ui/ui.resizable.js')
-rw-r--r--ui/ui.resizable.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js
index 6e5691aea..847337b08 100644
--- a/ui/ui.resizable.js
+++ b/ui/ui.resizable.js
@@ -501,17 +501,14 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
$.extend($.ui.resizable, {
version: "@VERSION",
eventPrefix: "resize",
- defaults: {
+ defaults: $.extend({}, $.ui.mouse.defaults, {
alsoResize: false,
animate: false,
animateDuration: "slow",
animateEasing: "swing",
aspectRatio: false,
autoHide: false,
- cancel: ":input,option",
containment: false,
- delay: 0,
- distance: 1,
ghost: false,
grid: false,
handles: "e,s,se",
@@ -521,7 +518,7 @@ $.extend($.ui.resizable, {
minHeight: 10,
minWidth: 10,
zIndex: 1000
- }
+ })
});
/*