[Jifty-commit] r3464 - in jifty/trunk: share/web/static/js

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Tue Jun 12 16:23:48 EDT 2007


Author: trs
Date: Tue Jun 12 16:23:47 2007
New Revision: 3464

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/share/web/static/js/jifty.js

Log:
 r22079 at zot:  tom | 2007-06-12 16:22:25 -0400
 Be more in line with original code and apply Behaviour immediately, not in the callback


Modified: jifty/trunk/share/web/static/js/jifty.js
==============================================================================
--- jifty/trunk/share/web/static/js/jifty.js	(original)
+++ jifty/trunk/share/web/static/js/jifty.js	Tue Jun 12 16:23:47 2007
@@ -692,9 +692,10 @@
 	    }
 	    // We need to give the browser some "settle" time before
 	    // we eval scripts in the body
-	    YAHOO.util.Event.onAvailable(element.id, function() {
-		    (function() { this.evalScripts() }).bind(textContent)();
-		    Behaviour.apply(element) });
+        YAHOO.util.Event.onAvailable(element.id, function() {
+            (function() { this.evalScripts() }).bind(textContent)();
+        });
+        Behaviour.apply(element);
 	}
     }
     dom_fragment.setArgs(new_dom_args);


More information about the Jifty-commit mailing list