From aba53d09fd03790ef4d4c3d39197436851e4b7a2 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Tue, 20 Jan 2009 10:06:59 +0000 Subject: [PATCH] draggable: defaults should be set to 'false' if disabled, not null (fixes #3878) --- ui/ui.draggable.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 } });