mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-15 14:05:57 +00:00
[WebUI] Fix testing array after removing torrents
This commit is contained in:
parent
2c66a4c29e
commit
ace531e8ae
@ -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…
x
Reference in New Issue
Block a user