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.
This commit is contained in:
parent
317e9ee423
commit
428681aca3
@ -76,7 +76,7 @@ Ext.define('Deluge.details.DetailsPanel', {
|
|||||||
});
|
});
|
||||||
|
|
||||||
tab = tab || this.getActiveTab();
|
tab = tab || this.getActiveTab();
|
||||||
if (tab.update) tab.update(torrent.id);
|
if (tab.update) tab.update(torrent.getId());
|
||||||
},
|
},
|
||||||
|
|
||||||
/* Event Handlers */
|
/* Event Handlers */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user