Changeset 1038
- Timestamp:
- 31.05.2010 22:01:02 (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ZMS/trunk/plugins/www/jquery/plugin/jquery.plugin.js
r968 r1038 151 151 // Call postLoad callback (queueing etc) 152 152 // Timeout needed to make sure that queue of files (this.queue) has correct value 153 setTimeout(function(){that.afterGet(url);}, 0);153 setTimeout(function(){that.afterGet(url);},1); 154 154 155 155 // If no caching or file is not cached … … 232 232 (function(){ 233 233 var callback = that.tmp_callback[i]; 234 setTimeout(function(){callback.apply(that);}, 0);234 setTimeout(function(){callback.apply(that);},1); 235 235 })(); 236 236 } 237 this.tmp_callback = []; 237 238 } 238 239 … … 259 260 // Load each file specified for this plugin 260 261 var getFile = function(file){that.getFile(file);}; 262 var that = this; 261 263 for(var i=0;i<files.length;i++){ 262 264 (function(){
Note: See TracChangeset
for help on using the changeset viewer.
