mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 09:55:55 +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',
|
column: 'filtersColumn',
|
||||||
height: 300
|
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');
|
var prop_h = Cookie.read('properties_height');
|
||||||
if($defined(prop_h))
|
if($defined(prop_h))
|
||||||
prop_h = prop_h.toInt();
|
prop_h = prop_h.toInt();
|
||||||
@ -318,6 +304,20 @@ window.addEvent('load', function(){
|
|||||||
}).send();
|
}).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();
|
//ajaxfn();
|
||||||
if(BrowserDetect.browser != "Safari") {
|
if(BrowserDetect.browser != "Safari") {
|
||||||
// Safari has trouble with this
|
// Safari has trouble with this
|
||||||
|
Loading…
x
Reference in New Issue
Block a user