mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 11:45:44 +00:00
fix unrequired requests
This commit is contained in:
parent
117d50b728
commit
8922717ff2
@ -333,6 +333,7 @@ Deluge.ConnectionManager = Ext.extend(Ext.Window, {
|
||||
}
|
||||
},
|
||||
|
||||
// FIXME: Find out why this is being fired twice
|
||||
// private
|
||||
onShow: function() {
|
||||
if (!this.addHostButton) {
|
||||
@ -342,6 +343,7 @@ Deluge.ConnectionManager = Ext.extend(Ext.Window, {
|
||||
this.stopHostButton = bbar.items.get('cm-stop');
|
||||
}
|
||||
this.loadHosts();
|
||||
if (this.running) return;
|
||||
this.running = window.setInterval(this.update, 2000, this);
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user