mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 15:08:40 +00:00
change it so the event is only subscribed to for a single fire
This commit is contained in:
parent
7c0590f399
commit
444272344e
1 changed files with 3 additions and 1 deletions
|
@ -74,9 +74,11 @@ Deluge.UI = {
|
||||||
Deluge.Client = new Ext.ux.util.RpcClient({
|
Deluge.Client = new Ext.ux.util.RpcClient({
|
||||||
url: '/json'
|
url: '/json'
|
||||||
});
|
});
|
||||||
|
|
||||||
Deluge.Client.on('connected', function(e) {
|
Deluge.Client.on('connected', function(e) {
|
||||||
Deluge.Login.show();
|
Deluge.Login.show();
|
||||||
});
|
}, this, {single: true});
|
||||||
|
|
||||||
this.update = this.update.bind(this);
|
this.update = this.update.bind(this);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue