fix update calls in a few places

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

View file

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