diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-09-29 17:21:00 +0200 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-11-17 17:56:07 +0100 |
commit | 20935966efdae847023680217a4c109648698340 (patch) | |
tree | b36281271b133a141a1666d6039e4695128b9f3c /ogcp/templates/macros.html | |
parent | d029df8e842f8dce9d48f8ec9e11e336b0af46e9 (diff) |
WIP Make scopes tree async
Diffstat (limited to 'ogcp/templates/macros.html')
-rw-r--r-- | ogcp/templates/macros.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html index c56e4e8..e114692 100644 --- a/ogcp/templates/macros.html +++ b/ogcp/templates/macros.html @@ -1,8 +1,6 @@ -{% macro scopes_tree_collapse(scopes, state='', selection_mode='scopes') -%} +{% macro scopes_tree_collapse(state='', selection_mode='scopes') -%} -<ul id="scopes" class="nav ogcp-nav flex-column nav-pills"> - {{ scopes_tree_collapse_level(scopes["scope"], "", "", state, selection_mode) }} -</ul> +<ul id="scopes" class="nav ogcp-nav flex-column nav-pills"></ul> <script> // Launch the javascript on document ready, so all the global functions exists // in the scope @@ -18,6 +16,7 @@ {% elif selection_mode == 'scopes' %} limitCheckboxes(); {% endif %} + buildScopesTree(); } }); </script> |