From c36da07ca624bfad5b77ac0da90d5870507afca8 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Fri, 30 Jan 2009 05:17:48 +0000 Subject: draggable: fixed 'o is not defined' exception --- ui/ui.draggable.js | 1 + 1 file changed, 1 insertion(+) (limited to 'ui') diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js index e8524679b..bfad09ae0 100644 --- a/ui/ui.draggable.js +++ b/ui/ui.draggable.js @@ -592,6 +592,7 @@ $.ui.plugin.add("draggable", "opacity", { t.css('opacity', o.opacity); }, stop: function(event, ui) { + var o = $(this).data('draggable').options; if(o._opacity) $(ui.helper).css('opacity', o._opacity); } }); -- cgit v1.2.3