mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Fix possible initialization problem in Web UI
This commit is contained in:
parent
7acfb27a1f
commit
822f1a9557
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue