Browse Source

Fix possible initialization problem in Web UI

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
822f1a9557
  1. 5
      src/webui/scripts/client.js

5
src/webui/scripts/client.js

@ -191,6 +191,9 @@ window.addEvent('load', function(){
padding: { top: 0, right: 0, bottom: 0, left: 0 }, padding: { top: 0, right: 0, bottom: 0, left: 0 },
loadMethod: 'xhr', loadMethod: 'xhr',
contentURL: 'transferlist.html', contentURL: 'transferlist.html',
onContentLoaded: function() {
ajaxfn();
};
column: 'mainColumn', column: 'mainColumn',
onResize: saveColumnSizes, onResize: saveColumnSizes,
height: null height: null
@ -315,7 +318,7 @@ window.addEvent('load', function(){
}).send(); }).send();
} }
}; };
ajaxfn(); //ajaxfn();
if(BrowserDetect.browser != "Safari") { if(BrowserDetect.browser != "Safari") {
// Safari has trouble with this // Safari has trouble with this
loadTransferInfo(); loadTransferInfo();

Loading…
Cancel
Save