mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-17 07:38:42 +00:00
fix update calls in a few places
This commit is contained in:
parent
01ec3f5b5a
commit
78df3d10ce
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue