Module: deluge
Branch: extjs4-port
Commit: 2701eb9ac964b952d2c2cb875a73cb8a4fd76ab7

Author: Damien Churchill <[email protected]>
Date:   Mon Oct  3 22:32:48 2011 +0100

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.

---

 .../ui/web/js/deluge-all/details/DetailsPanel.js   |    2 +-
 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 b34daa1..4b480c1 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 */

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to