Author: damoxc

Revision: 5639

Log:
        fix update calls in a few places

Diff:
Modified: trunk/deluge/ui/web/js/Deluge.ConnectionManager.js
===================================================================
--- trunk/deluge/ui/web/js/Deluge.ConnectionManager.js  2009-08-10 09:56:43 UTC 
(rev 5638)
+++ trunk/deluge/ui/web/js/Deluge.ConnectionManager.js  2009-08-10 09:58:51 UTC 
(rev 5639)
@@ -266,7 +266,7 @@
                },
                
                onHostAdded: function() {
-                       this.update();
+                       this.update(this);
                },
                
                onClose: function(e) {
@@ -281,7 +281,7 @@
                        if (selected.get('status') == _('Connected')) {
                                Deluge.Client.web.disconnect({
                                        success: function(result) {
-                                               this.update();
+                                               this.update(this);
                                                
Deluge.Events.fire('disconnect');
                                        },
                                        scope: 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to