Changeset 897
- Timestamp:
- 10/10/08 03:14:22 (9 months ago)
- Files:
-
- 1 modified
-
trunk/windmill/html/remote.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/windmill/html/remote.html
r895 r897 191 191 var noFile = function(s){ 192 192 //Double check to make sure we aren't loading windmill src twice 193 if ( windmill != undefined){ return; }193 if (typeof(windmill) != "undefined"){ return; } 194 194 jQuery("#loadMessage").html("Defaulting to JavaScript includes.."); 195 195 … … 238 238 239 239 jQuery("#loadMessage").html("Downloading JavaScript Source..."); 240 jQuery.ajax({ 241 type: "GET", 242 url: path, 243 dataType: "script", 244 error: noFile 245 }); 240 241 if (/Opera[\/\s](\d+\.\d+)/.test(navigator.userAgent)){ 242 noFile(); 243 } 244 else { 245 jQuery.ajax({ 246 type: "GET", 247 url: path, 248 dataType: "script", 249 error: noFile 250 }); 251 } 252 246 253 247 254 </script>
