From 97ad189fb530021e812dd9b35bb7727754d68a0f Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 15 Aug 2026 19:00:20 +0800 Subject: [PATCH] debug: add change_node_type is_leaf logging; bump cache ver --- bricks/header.tmpl | 4 ++-- bricks/tree.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bricks/header.tmpl b/bricks/header.tmpl index 0acbdb8..b923d6f 100644 --- a/bricks/header.tmpl +++ b/bricks/header.tmpl @@ -5,7 +5,7 @@ - + {% for mycss in cssfiles() %} @@ -37,7 +37,7 @@ - + {% for myjs in jsfiles() %} {% endfor %} diff --git a/bricks/tree.js b/bricks/tree.js index 7e165ca..ae5eb50 100644 --- a/bricks/tree.js +++ b/bricks/tree.js @@ -102,6 +102,7 @@ bricks.TreeNode = class extends bricks.VBox { }); } change_node_type(){ + console.log('CTN id=', this.user_data && this.user_data.id, 'is_leaf=', this.is_leaf, 'raw=', this.user_data && this.user_data.is_leaf, 'field=', this.is_leaf_field); if (this.is_leaf){ this.triple.set_url(null); } else {