From 0e66c63cda5000492b79d0aac28b8aafcbeb0a2f Mon Sep 17 00:00:00 2001 From: hppeng Date: Wed, 21 Dec 2022 10:15:21 -0800 Subject: [PATCH] HOTFIX: janky patch to make editable fields work without full page update --- js/builder/builder_graph.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/builder/builder_graph.js b/js/builder/builder_graph.js index 9ceaeb7..0a6cbdb 100644 --- a/js/builder/builder_graph.js +++ b/js/builder/builder_graph.js @@ -951,6 +951,8 @@ class EditableIDSetterNode extends ComputeNode { this.notify_nodes = notify_nodes.slice(); for (const child of this.notify_nodes) { child.link_to(this); + child.fail_cb = true; + child.mark_input_clean(this.name, null); } } @@ -987,6 +989,8 @@ class SkillPointSetterNode extends ComputeNode { this.notify_nodes = notify_nodes.slice(); for (const child of this.notify_nodes) { child.link_to(this); + child.fail_cb = true; + child.mark_input_clean(this.name, null); } }