mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-26 18:10:43 +00:00
assign the cookieprovider to Deluge.UI.cookies
This commit is contained in:
parent
c718c2bf30
commit
0523ec1837
@ -23,9 +23,13 @@ Copyright:
|
||||
*/
|
||||
|
||||
Deluge.UI = {
|
||||
|
||||
cookies: new Ext.state.CookieProvider(),
|
||||
|
||||
errorCount: 0,
|
||||
|
||||
initialize: function() {
|
||||
this.errorCount = 0;
|
||||
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
||||
Ext.state.Manager.setProvider(this.cookies);
|
||||
this.MainPanel = new Ext.Panel({
|
||||
id: 'mainPanel',
|
||||
iconCls: 'x-deluge-main-panel',
|
||||
|
Loading…
x
Reference in New Issue
Block a user