mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-07 07:14:09 -07:00
WebUI: Fix bug where the 'Tracker editing' dialog displays incorrect data
In Trackers table, moving the 'URL' column from its default (2) position caused the 'Tracker editing' dialog to display incorrect data. Steps to reproduce: 1. Move 'URL' column in Trackers table to any position from default 2. Choose tracker URL and click 'Edit tracker URL' PR #22338.
This commit is contained in:
parent
6e1b5ec18b
commit
37eb80919c
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ window.qBittorrent.PropTrackers ??= (() => {
|
|||
if (current_hash.length === 0)
|
||||
return;
|
||||
|
||||
const trackerUrl = encodeURIComponent(element.childNodes[1].textContent);
|
||||
const trackerUrl = encodeURIComponent(torrentTrackersTable.selectedRowsIds()[0]);
|
||||
new MochaUI.Window({
|
||||
id: "trackersPage",
|
||||
icon: "images/qbittorrent-tray.svg",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue