mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 01:44:26 +00:00
Another initialization fix for Web UI
This commit is contained in:
parent
822f1a9557
commit
29e757bb3a
@ -184,20 +184,6 @@ window.addEvent('load', function(){
|
||||
column: 'filtersColumn',
|
||||
height: 300
|
||||
});
|
||||
new MochaUI.Panel({
|
||||
id: 'transferList',
|
||||
title: 'Panel',
|
||||
header: false,
|
||||
padding: { top: 0, right: 0, bottom: 0, left: 0 },
|
||||
loadMethod: 'xhr',
|
||||
contentURL: 'transferlist.html',
|
||||
onContentLoaded: function() {
|
||||
ajaxfn();
|
||||
};
|
||||
column: 'mainColumn',
|
||||
onResize: saveColumnSizes,
|
||||
height: null
|
||||
});
|
||||
var prop_h = Cookie.read('properties_height');
|
||||
if($defined(prop_h))
|
||||
prop_h = prop_h.toInt();
|
||||
@ -318,6 +304,20 @@ window.addEvent('load', function(){
|
||||
}).send();
|
||||
}
|
||||
};
|
||||
new MochaUI.Panel({
|
||||
id: 'transferList',
|
||||
title: 'Panel',
|
||||
header: false,
|
||||
padding: { top: 0, right: 0, bottom: 0, left: 0 },
|
||||
loadMethod: 'xhr',
|
||||
contentURL: 'transferlist.html',
|
||||
onContentLoaded: function() {
|
||||
ajaxfn();
|
||||
},
|
||||
column: 'mainColumn',
|
||||
onResize: saveColumnSizes,
|
||||
height: null
|
||||
});
|
||||
//ajaxfn();
|
||||
if(BrowserDetect.browser != "Safari") {
|
||||
// Safari has trouble with this
|
||||
|
Loading…
x
Reference in New Issue
Block a user