add a check to ensure data was returned and ignore otherwise
This commit is contained in:
parent
2765a97506
commit
1c21066fec
@ -146,6 +146,7 @@ Deluge.UI = {
|
||||
},
|
||||
|
||||
updated: function(data) {
|
||||
if (!data) return;
|
||||
this.torrents = new Hash(data.torrents);
|
||||
this.stats = data.stats;
|
||||
this.filters = data.filters;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user