mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 16:08:40 +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) {
|
remove: function(removeData) {
|
||||||
deluge.client.core.remove_torrents(this.torrentIds, removeData, {
|
deluge.client.core.remove_torrents(this.torrentIds, removeData, {
|
||||||
success: function(result) {
|
success: function(result) {
|
||||||
if (result) {
|
if (result == true) {
|
||||||
console.log('Error(s) occured when trying to delete torrent(s).');
|
console.log('Error(s) occured when trying to delete torrent(s).');
|
||||||
}
|
}
|
||||||
this.onRemoved(this.torrentIds);
|
this.onRemoved(this.torrentIds);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue