diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-07-07 07:39:12 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-07-07 07:39:12 +0000 |
commit | c4a99f521b2bccf23c97c0732779dc70f70f82de (patch) | |
tree | b44202a4c823ee91166b9e7617be86cfca1df5db /ui/ui.selectable.js | |
parent | 8814c8dc033a5732ce9cb908f3202773cfb356ac (diff) | |
download | jquery-ui-c4a99f521b2bccf23c97c0732779dc70f70f82de.tar.gz jquery-ui-c4a99f521b2bccf23c97c0732779dc70f70f82de.zip |
prevent overriding/changing the actual $.ui.mouse object by extending it - this was evil (i.e. caused draggables to have the mouseCapture method of sortables, and therefore failing to work)
Diffstat (limited to 'ui/ui.selectable.js')
-rw-r--r-- | ui/ui.selectable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.selectable.js b/ui/ui.selectable.js index db69a488a..814e7d48e 100644 --- a/ui/ui.selectable.js +++ b/ui/ui.selectable.js @@ -12,7 +12,7 @@ */ (function($) { -$.widget("ui.selectable", $.extend($.ui.mouse, { +$.widget("ui.selectable", $.extend({}, $.ui.mouse, { init: function() { var self = this; |