summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Churchill <damoxc@gmail.com>2011-10-03 22:32:48 +0100
committerDamien Churchill <damoxc@gmail.com>2011-10-05 01:36:57 +0100
commit428681aca322bf7a26864f9a6bbe604af879b768 (patch)
tree9489233504031c263a7cf581d27f75e846e87ead
parent317e9ee4239b3694ce5252cb80609ba1c5fa88f0 (diff)
downloaddeluge-428681aca322bf7a26864f9a6bbe604af879b768.tar.gz
deluge-428681aca322bf7a26864f9a6bbe604af879b768.tar.bz2
deluge-428681aca322bf7a26864f9a6bbe604af879b768.zip
webui: use the getId method in the details panel
Before we were using the id property which seems to have been deprecated and wasn't returning the actual id. Switching to use the getId() method returns the correct id (the torrent hash) so grabbing the torrent details starts working again for the details tabs.
-rw-r--r--deluge/ui/web/js/deluge-all/details/DetailsPanel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/web/js/deluge-all/details/DetailsPanel.js b/deluge/ui/web/js/deluge-all/details/DetailsPanel.js
index b34daa144..4b480c1d7 100644
--- a/deluge/ui/web/js/deluge-all/details/DetailsPanel.js
+++ b/deluge/ui/web/js/deluge-all/details/DetailsPanel.js
@@ -76,7 +76,7 @@ Ext.define('Deluge.details.DetailsPanel', {
});
tab = tab || this.getActiveTab();
- if (tab.update) tab.update(torrent.id);
+ if (tab.update) tab.update(torrent.getId());
},
/* Event Handlers */