diff options
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> |