mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
assign the cookieprovider to Deluge.UI.cookies
This commit is contained in:
parent
c718c2bf30
commit
0523ec1837
1 changed files with 7 additions and 3 deletions
|
@ -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',
|
||||
|
@ -44,7 +48,7 @@ Deluge.UI = {
|
|||
layout: 'fit',
|
||||
items: [this.MainPanel]
|
||||
});
|
||||
|
||||
|
||||
Deluge.Login.show();
|
||||
|
||||
Deluge.Events.on("connect", this.onConnect, this);
|
||||
|
|
Loading…
Add table
Reference in a new issue