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.sortable.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.sortable.js')
-rw-r--r-- | ui/ui.sortable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js index 1503c60d3..0fd46d152 100644 --- a/ui/ui.sortable.js +++ b/ui/ui.sortable.js @@ -24,7 +24,7 @@ function contains(a, b) { return false; }; -$.widget("ui.sortable", $.extend($.ui.mouse, { +$.widget("ui.sortable", $.extend({}, $.ui.mouse, { init: function() { var o = this.options; |