WebUI: Use event delegation to handle common table events
commitc9c85eeb951f886813e09e193e59a7beac3c7d81
authorskomerko <168652295+skomerko@users.noreply.github.com>
Mon, 18 Nov 2024 18:12:26 +0000 (18 19:12 +0100)
committerGitHub <noreply@github.com>
Mon, 18 Nov 2024 18:12:26 +0000 (19 02:12 +0800)
tree8d7a6bf1ef48243e2dfb92e04c6057de3f778340
parentea35aa45d60008f0e61639fc8dc11ec6b167c5d6
WebUI: Use event delegation to handle common table events

Event delegation is now used to handle basic table events.
2 minor fixes were added to match GUI behavior:
* Clicking on the table body deselects everything
* Table rows are now scrolled into view when using up/down arrows

PR #21829.
src/webui/www/private/css/dynamicTable.css
src/webui/www/private/css/style.css
src/webui/www/private/scripts/dynamicTable.js
src/webui/www/private/scripts/search.js
src/webui/www/private/views/log.html
src/webui/www/private/views/rss.html
src/webui/www/private/views/searchplugins.html
src/webui/www/private/views/transferlist.html