From: Paul Bakaus Date: Tue, 20 Jan 2009 10:06:59 +0000 (+0000) Subject: draggable: defaults should be set to 'false' if disabled, not null (fixes #3878) X-Git-Tag: 1.6rc6~192 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aba53d09fd03790ef4d4c3d39197436851e4b7a2;p=jquery-ui.git draggable: defaults should be set to 'false' if disabled, not null (fixes #3878) --- diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js index da483bfaa..e9b9142b6 100644 --- a/ui/ui.draggable.js +++ b/ui/ui.draggable.js @@ -405,14 +405,14 @@ $.extend($.ui.draggable, { containment: false, cssNamespace: "ui", cursor: "default", - cursorAt: null, + cursorAt: false, delay: 0, distance: 1, grid: false, handle: false, helper: "original", iframeFix: false, - opacity: null, + opacity: false, refreshPositions: false, revert: false, revertDuration: 500, @@ -424,7 +424,7 @@ $.extend($.ui.draggable, { snapMode: "both", snapTolerance: 20, stack: false, - zIndex: null + zIndex: false } });