mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-01 12:47:03 +09:00
* fix(ui): close the graph menu and relabel Realtime instead of showing a spinner Clicking Realtime in the graph drilldown menu replaced the whole row with a spinner icon, discarding its label. Keep the row intact, close the menu, and flip the label between "Realtime" and "Stop Realtime" so the next click offers the opposite action. Stopping all realtime graphs from the filter bar restores the label too. closeGraphDrilldown() is hoisted out of initGraphDrilldown() so the Realtime click handler can close the menu. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * fix(ui): keep realtime menu state and focus synchronized Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * fix(i18n): encode realtime labels for JavaScript Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> Co-authored-by: TheWitness <copilot@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Thomas Vincent <thomasvincent@gmail.com>