mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
confd infers Infix-suggested values (DHCP option lists, related leaves, normalised values) into the candidate when a change is written, but the tree editor's write handlers only wrote — SaveLeaf echoed the typed value back, SaveGroup returned 204 — so the inferred values never appeared until a manual page reload. After a save (cfgSaved) re-fetch the current tree page from the now up-to-date candidate and re-render it, so inference surfaces wherever it landed on the page. SaveLeaf now emits cfgSaved + 204 like SaveGroup (its form uses hx-swap="none") instead of echoing the raw input. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>