mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 06:48:00 +00:00
Fix possible initialization problem in Web UI
This commit is contained in:
parent
7acfb27a1f
commit
822f1a9557
@ -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…
Reference in New Issue
Block a user