mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-10 07:22:47 -07:00
Provide v1 and v2 infohashes in UI (#15097)
This commit is contained in:
parent
f6eb29d800
commit
37f227ae74
24 changed files with 285 additions and 106 deletions
|
@ -343,7 +343,7 @@ window.qBittorrent.PropFiles = (function() {
|
|||
// Tab changed, don't do anything
|
||||
return;
|
||||
}
|
||||
const new_hash = torrentsTable.getCurrentTorrentHash();
|
||||
const new_hash = torrentsTable.getCurrentTorrentID();
|
||||
if (new_hash === "") {
|
||||
torrentFilesTable.clear();
|
||||
clearTimeout(loadTorrentFilesDataTimer);
|
||||
|
@ -527,7 +527,7 @@ window.qBittorrent.PropFiles = (function() {
|
|||
menu: 'torrentFilesMenu',
|
||||
actions: {
|
||||
Rename: function(element, ref) {
|
||||
const hash = torrentsTable.getCurrentTorrentHash();
|
||||
const hash = torrentsTable.getCurrentTorrentID();
|
||||
if (!hash) return;
|
||||
const rowId = torrentFilesTable.selectedRowsIds()[0];
|
||||
if (rowId === undefined) return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue