From 4b79ae8280beba712a577845ea4e53f8ecf0da19 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Tue, 13 Oct 2009 09:56:49 +0000 Subject: [PATCH] fix a bug in the connection manager where the host list wasn't refreshed after a host was added --- ChangeLog | 2 +- deluge/ui/web/js/Deluge.ConnectionManager.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 954497aca..6fed5f6e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,9 +7,9 @@ ==== Core ==== * Fix saving torrent state on fresh configs - ==== Web ==== * Fix changing of the allocation in the preferences. + * Fix updating the Connection Manager when a host is added. ==== Misc ==== * Add man pages for deluge-console and deluge-gtk diff --git a/deluge/ui/web/js/Deluge.ConnectionManager.js b/deluge/ui/web/js/Deluge.ConnectionManager.js index 9ba02e13e..0aa14e242 100644 --- a/deluge/ui/web/js/Deluge.ConnectionManager.js +++ b/deluge/ui/web/js/Deluge.ConnectionManager.js @@ -307,7 +307,7 @@ Copyright: }, onHostAdded: function() { - this.update(this); + this.loadHosts(); }, onClose: function(e) {