r1891 - trunk/ui

r1891 - trunk/ui


Author: rdworth
Date: Thu Jan 29 21:17:48 2009
New Revision: 1891
Modified:
trunk/ui/ui.draggable.js
Log:
draggable: fixed 'o is not defined' exception
Modified: trunk/ui/ui.draggable.js
==============================================================================
--- trunk/ui/ui.draggable.js    (original)
+++ trunk/ui/ui.draggable.js    Thu Jan 29 21:17:48 2009
@@ -592,6 +592,7 @@
        t.css('opacity', o.opacity);
    },
    stop: function(event, ui) {
+        var o = $(this).data('draggable').options;
        if(o._opacity) $(ui.helper).css('opacity', o._opacity);
    }
});