draggable: defaults should be set to 'false' if disabled, not null (fixes #3878)

This commit is contained in:
Paul Bakaus 2009-01-20 10:06:59 +00:00
parent bcda57c355
commit aba53d09fd

View File

@ -405,14 +405,14 @@ $.extend($.ui.draggable, {
containment: false, containment: false,
cssNamespace: "ui", cssNamespace: "ui",
cursor: "default", cursor: "default",
cursorAt: null, cursorAt: false,
delay: 0, delay: 0,
distance: 1, distance: 1,
grid: false, grid: false,
handle: false, handle: false,
helper: "original", helper: "original",
iframeFix: false, iframeFix: false,
opacity: null, opacity: false,
refreshPositions: false, refreshPositions: false,
revert: false, revert: false,
revertDuration: 500, revertDuration: 500,
@ -424,7 +424,7 @@ $.extend($.ui.draggable, {
snapMode: "both", snapMode: "both",
snapTolerance: 20, snapTolerance: 20,
stack: false, stack: false,
zIndex: null zIndex: false
} }
}); });