mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
[WebUI] Fix testing array after removing torrents
This commit is contained in:
parent
2c66a4c29e
commit
ace531e8ae
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ Deluge.RemoveWindow = Ext.extend(Ext.Window, {
|
|||
remove: function(removeData) {
|
||||
deluge.client.core.remove_torrents(this.torrentIds, removeData, {
|
||||
success: function(result) {
|
||||
if (result) {
|
||||
if (result == true) {
|
||||
console.log('Error(s) occured when trying to delete torrent(s).');
|
||||
}
|
||||
this.onRemoved(this.torrentIds);
|
||||
|
|
Loading…
Add table
Reference in a new issue