From 285dfb6eac9b1a358a1bc48d076352151259d7ac Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Wed, 26 Oct 2022 14:01:45 +0200 Subject: wip make tree async parte 2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Estos cambio eran necesarios porque si no había elementos del html con el mismo id y esto provoca que se rompa parte del javascript. --- ogcp/templates/macros.html | 10 +++++----- ogcp/templates/tree.html | 2 +- ogcp/views.py | 3 ++- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ogcp/templates/macros.html b/ogcp/templates/macros.html index e114692..5e10b0f 100644 --- a/ogcp/templates/macros.html +++ b/ogcp/templates/macros.html @@ -23,9 +23,9 @@ {% endmacro %} -{% macro scopes_tree_collapse_level(scopes, parent_room, parent_id, state, selection_mode) -%} +{% macro scopes_tree_collapse_level(scopes, parent_server, parent_room, parent_id, state, selection_mode) -%} {% for scope in scopes %} -