r1894 - trunk/ui

r1894 - trunk/ui


Author: rdworth
Date: Thu Jan 29 21:46:46 2009
New Revision: 1894
Modified:
trunk/ui/effects.core.js
Log:
effects core: fixed undefined options error
Modified: trunk/ui/effects.core.js
==============================================================================
--- trunk/ui/effects.core.js    (original)
+++ trunk/ui/effects.core.js    Thu Jan 29 21:46:46 2009
@@ -157,7 +157,7 @@
    // New effect methods
    effect: function(fx, options, speed, callback) {
-        return $.effects[fx] ? $.effects[fx].call(this, {method: fx, options:
options, duration: speed, callback: callback }) : null;
+        return $.effects[fx] ? $.effects[fx].call(this, {method: fx, options:
options || {}, duration: speed, callback: callback }) : null;
    },
    show: function() {