1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-09 22:37:59 +00:00

Fix possible initialization problem in Web UI

This commit is contained in:
Christophe Dumez 2010-04-23 08:04:21 +00:00
parent 7acfb27a1f
commit 822f1a9557

View File

@ -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();