diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-09-16 12:34:32 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-09-16 12:34:32 +0200 |
commit | 233156b19ab2b3d490a8bb450bbb22fdff4caaec (patch) | |
tree | 2dd00b9811e854fcbf07588dbf68d23bfb2b5d31 /ogcp/templates/macros.html | |
parent | f85c61df993dddee233ead7b6c9e136d9d9fa742 (diff) |
js: consolidate sidebar collapse persistence logic
Consolidate all the sidebar collapse persistence logic.
Implement a single function to handle all the views.
Diffstat (limited to 'ogcp/templates/macros.html')
-rw-r--r-- | ogcp/templates/macros.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html index 7583c59..16b3017 100644 --- a/ogcp/templates/macros.html +++ b/ogcp/templates/macros.html @@ -10,7 +10,7 @@ if (document.readyState === 'complete') { showSelectedClientsOnEvents(); updateScopeState(); - keepScopesTreeState(); + keepTreeState('#scopes'); let context = {{ selection_mode | tojson | safe }}; {% if selection_mode == 'commands' %} configureCommandCheckboxes(context); |