Module: deluge Branch: master Commit: 028a35bfc8b2aaeab746884847d91d2234312685
Author: Damien Churchill <[email protected]> Date: Wed Apr 28 10:42:25 2010 +0100 fix adding an already removed torrent --- deluge/ui/web/js/deluge-all/Torrents.js | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/deluge/ui/web/js/deluge-all/Torrents.js b/deluge/ui/web/js/deluge-all/Torrents.js index 8536edc..8ffb936 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); } }); -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
