[Jifty-commit] r5130 - jifty/trunk/share/web/static/js

Jifty commits jifty-commit at lists.jifty.org
Mon Feb 18 03:16:43 EST 2008


Author: bokutin
Date: Mon Feb 18 03:16:43 2008
New Revision: 5130

Modified:
   jifty/trunk/share/web/static/js/behaviour.js

Log:
* app_behaviour.js was not enable in IE6. jQuery less than 1.2.2 has problem in .ready() (We have 1.2.1).

Modified: jifty/trunk/share/web/static/js/behaviour.js
==============================================================================
--- jifty/trunk/share/web/static/js/behaviour.js	(original)
+++ jifty/trunk/share/web/static/js/behaviour.js	Mon Feb 18 03:16:43 2008
@@ -46,7 +46,12 @@
 };
 
 (function($) {
+    // XXX: Problems with .ready() less than jQuery 1.2.2 in IE6.
+    // http://groups.google.com/group/jquery-en/browse_thread/thread/cb84c7a1f08a1d6d
     $(document).ready(function(){
+	// making IE happy (and sometimes Safari) 
+	setTimeout(function(){}, 500); 
+
         Behaviour.apply();
     });
 })(jQuery);


More information about the Jifty-commit mailing list