Permalink
Browse files

Fix for remove data not working when deleting a torrent

  • Loading branch information...
1 parent 0ff5014 commit 5355c9e8509ee0b798b2f28b9202e4843787422b @marioestrada marioestrada committed Jun 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 main.js
View
@@ -935,8 +935,8 @@ function setupDeleteTorrentDialog() {
var torrent = utweb.tables.torrent;
var rows = utweb.tables.torrent.view.selectedRows();
var value = $$('input[name=dlgDelete-torrent]:checked').get('value');
-
- torrent.remove_torrents(rows, { delete_data: value === "delete_data" });
+
+ torrent.remove_torrents(rows, { delete_data: value == "delete_data" });
});
// -- Cancel Button

0 comments on commit 5355c9e

Please sign in to comment.