change to a more robust test

This commit is contained in:
Damien Churchill 2008-10-01 07:50:32 +00:00
parent 6333b32e0b
commit 6db92cccb3

View File

@ -146,7 +146,7 @@ Deluge.UI = {
}, },
updated: function(data) { updated: function(data) {
if (!data) return; if ($defined(data)) return;
this.torrents = new Hash(data.torrents); this.torrents = new Hash(data.torrents);
this.stats = data.stats; this.stats = data.stats;
this.filters = data.filters; this.filters = data.filters;