From c4a99f521b2bccf23c97c0732779dc70f70f82de Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Mon, 7 Jul 2008 07:39:12 +0000 Subject: 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) --- ui/ui.draggable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/ui.draggable.js') diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js index 69f92b0d7..31aecff58 100644 --- a/ui/ui.draggable.js +++ b/ui/ui.draggable.js @@ -12,7 +12,7 @@ */ (function($) { -$.widget("ui.draggable", $.extend($.ui.mouse, { +$.widget("ui.draggable", $.extend({}, $.ui.mouse, { init: function() { //Initialize needed constants -- cgit v1.2.3