fix unrequired requests

This commit is contained in:
Damien Churchill 2011-05-07 13:19:41 +01:00
parent 117d50b728
commit 8922717ff2

View File

@ -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);
},