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 = {
|
Deluge.UI = {
|
||||||
|
|
||||||
|
cookies: new Ext.state.CookieProvider(),
|
||||||
|
|
||||||
|
errorCount: 0,
|
||||||
|
|
||||||
initialize: function() {
|
initialize: function() {
|
||||||
this.errorCount = 0;
|
Ext.state.Manager.setProvider(this.cookies);
|
||||||
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());
|
|
||||||
this.MainPanel = new Ext.Panel({
|
this.MainPanel = new Ext.Panel({
|
||||||
id: 'mainPanel',
|
id: 'mainPanel',
|
||||||
iconCls: 'x-deluge-main-panel',
|
iconCls: 'x-deluge-main-panel',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user