HOTFIX: janky patch to make editable fields work without full page update

This commit is contained in:
hppeng 2022-12-21 10:15:21 -08:00
parent eeb5d61c74
commit 0e66c63cda

View file

@ -951,6 +951,8 @@ class EditableIDSetterNode extends ComputeNode {
this.notify_nodes = notify_nodes.slice(); this.notify_nodes = notify_nodes.slice();
for (const child of this.notify_nodes) { for (const child of this.notify_nodes) {
child.link_to(this); 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(); this.notify_nodes = notify_nodes.slice();
for (const child of this.notify_nodes) { for (const child of this.notify_nodes) {
child.link_to(this); child.link_to(this);
child.fail_cb = true;
child.mark_input_clean(this.name, null);
} }
} }