WebUI: Show 'Rename...' context menu item only when one torrent is selected
commite51fcc6ea084b00fc4d95926177f8ac3d4f676da
authorskomerko <168652295+skomerko@users.noreply.github.com>
Sun, 17 Nov 2024 07:31:30 +0000 (17 08:31 +0100)
committerGitHub <noreply@github.com>
Sun, 17 Nov 2024 07:31:30 +0000 (17 15:31 +0800)
treee447fbe3f9d9a0172fff43ef88180b00181f14c8
parentf4eec754881b9fb761e1e02ff68677785d48276f
WebUI: Show 'Rename...' context menu item only when one torrent is selected

'Rename...' item in torrents table menu is displayed only when exactly one torrent is selected.

PR #21843.
src/webui/www/private/scripts/contextmenu.js