Utilisation de l'id du nœud racine, plutôt que l'id de l'objet.
[MosaicDocument.git] / default_blocks / tree_block_template.pt
index 1b45b19..606d136 100755 (executable)
@@ -41,7 +41,7 @@
                      rows       treeDict/rows;
                      height                    tree/height;
                      rootNode   python:rows.pop(0);
                      rows       treeDict/rows;
                      height                    tree/height;
                      rootNode   python:rows.pop(0);
-                     box_id string:tree_box_${rootNode/object/id};
+                     box_id     rootNode/id;
                      portal_url here/portal_url"
          tal:condition="python:displayAction=='view' and rows"
          tal:omit-tag=""
                      portal_url here/portal_url"
          tal:condition="python:displayAction=='view' and rows"
          tal:omit-tag=""