From 028a35bfc8b2aaeab746884847d91d2234312685 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Wed, 28 Apr 2010 10:42:25 +0100 Subject: [PATCH] fix adding an already removed torrent --- deluge/ui/web/js/deluge-all/Torrents.js | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/ui/web/js/deluge-all/Torrents.js b/deluge/ui/web/js/deluge-all/Torrents.js index 8536edc0a..8ffb936af 100644 --- a/deluge/ui/web/js/deluge-all/Torrents.js +++ b/deluge/ui/web/js/deluge-all/Torrents.js @@ -339,6 +339,7 @@ selModel.deselectRow(this.getStore().indexOf(record)); } this.getStore().remove(record); + delete this.torrents[torrentId]; }, this); } });