From 428681aca322bf7a26864f9a6bbe604af879b768 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Mon, 3 Oct 2011 22:32:48 +0100 Subject: 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. --- deluge/ui/web/js/deluge-all/details/DetailsPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit