Author: damoxc
Revision: 5646
Log:
change it so the event is only subscribed to for a single fire
Diff:
Modified: trunk/deluge/ui/web/js/Deluge.UI.js
===================================================================
--- trunk/deluge/ui/web/js/Deluge.UI.js 2009-08-11 23:14:38 UTC (rev 5645)
+++ trunk/deluge/ui/web/js/Deluge.UI.js 2009-08-11 23:15:20 UTC (rev 5646)
@@ -74,9 +74,11 @@
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);
},
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---