mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 08:28:39 +00:00
fix unrequired requests
This commit is contained in:
parent
117d50b728
commit
8922717ff2
1 changed files with 7 additions and 5 deletions
|
@ -333,6 +333,7 @@ Deluge.ConnectionManager = Ext.extend(Ext.Window, {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// FIXME: Find out why this is being fired twice
|
||||||
// private
|
// private
|
||||||
onShow: function() {
|
onShow: function() {
|
||||||
if (!this.addHostButton) {
|
if (!this.addHostButton) {
|
||||||
|
@ -342,6 +343,7 @@ Deluge.ConnectionManager = Ext.extend(Ext.Window, {
|
||||||
this.stopHostButton = bbar.items.get('cm-stop');
|
this.stopHostButton = bbar.items.get('cm-stop');
|
||||||
}
|
}
|
||||||
this.loadHosts();
|
this.loadHosts();
|
||||||
|
if (this.running) return;
|
||||||
this.running = window.setInterval(this.update, 2000, this);
|
this.running = window.setInterval(this.update, 2000, this);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue