[Jifty-commit] r5326 - jifty/trunk/share/web/static/js
Jifty commits
jifty-commit at lists.jifty.org
Fri Apr 18 11:10:35 EDT 2008
Author: clkao
Date: Fri Apr 18 11:10:33 2008
New Revision: 5326
Modified:
jifty/trunk/share/web/static/js/jifty.js
Log:
defer autocompleter initialization till the dom is loaded.
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 Fri Apr 18 11:10:33 2008
@@ -1430,7 +1430,8 @@
}
Jifty.Autocompleter = function() {
- this.initialize.apply(this, arguments);
+ var that = this;
+ jQuery(function () { that.initialize.apply(that, arguments) } );
return this;
};
More information about the Jifty-commit
mailing list