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:
Damien Churchill 2011-10-03 22:32:48 +01:00
parent 317e9ee423
commit 428681aca3

View File

@ -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 */