mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-19 15:59:57 +00:00
change it so the event is only subscribed to for a single fire
This commit is contained in:
parent
7c0590f399
commit
444272344e
@ -74,9 +74,11 @@ Deluge.UI = {
|
||||
Deluge.Client = new Ext.ux.util.RpcClient({
|
||||
url: '/json'
|
||||
});
|
||||
|
||||
Deluge.Client.on('connected', function(e) {
|
||||
Deluge.Login.show();
|
||||
});
|
||||
}, this, {single: true});
|
||||
|
||||
this.update = this.update.bind(this);
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user