Changeset 7076

Show
Ignore:
Timestamp:
01/24/07 14:49:00 (22 months ago)
Author:
jburke
Message:

References #2366. Now that xdomain loading is default case for web builds, waiting a default of 30 seconds seems to long -- the user will likely miss the load error if having to wait that long. Going to 15 seconds.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/loader_xd.js

    r6990 r7076  
    22 
    33//FIXME: How will xd loading work with debugAtAllCosts? Any bad interactions? 
    4 //FIXME: widgets won't work fully (HTML/CSS) and also because of the requireIf() thing. 
    54 
    65dojo.hostenv.resetXd = function(){ 
     
    445444 
    446445        //Make sure we haven't waited timed out. 
    447         var waitInterval = (djConfig.xdWaitSeconds || 30) * 1000; 
     446        var waitInterval = (djConfig.xdWaitSeconds || 15) * 1000; 
    448447 
    449448        if(this.xdStartTime + waitInterval < (new Date()).getTime()){