Module: deluge Branch: master Commit: 82a5b5262c9cd975910eb9eabfd0be2c9bd5b3d8
Author: Damien Churchill <[email protected]> Date: Sun May 2 18:09:43 2010 +0100 fix the torrent grid, clear the torrents on disconnect, not logout --- deluge/ui/web/js/deluge-all/TorrentGrid.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/ui/web/js/deluge-all/TorrentGrid.js b/deluge/ui/web/js/deluge-all/TorrentGrid.js index d23d095..04a0204 100644 --- a/deluge/ui/web/js/deluge-all/TorrentGrid.js +++ b/deluge/ui/web/js/deluge-all/TorrentGrid.js @@ -227,7 +227,7 @@ initComponent: function() { Deluge.TorrentGrid.superclass.initComponent.call(this); deluge.events.on('torrentRemoved', this.onTorrentRemoved, this); - deluge.events.on('logout', this.onDisconnect, this); + deluge.events.on('disconnect', this.onDisconnect, this); this.on('rowcontextmenu', function(grid, rowIndex, e) { e.stopEvent(); -- 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.
