fix update calls in a few places

This commit is contained in:
Damien Churchill 2009-08-10 09:58:51 +00:00
parent 01ec3f5b5a
commit 78df3d10ce

View File

@ -266,7 +266,7 @@ Copyright:
},
onHostAdded: function() {
this.update();
this.update(this);
},
onClose: function(e) {
@ -281,7 +281,7 @@ Copyright:
if (selected.get('status') == _('Connected')) {
Deluge.Client.web.disconnect({
success: function(result) {
this.update();
this.update(this);
Deluge.Events.fire('disconnect');
},
scope: this