Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 40s
Fixes "the remove button does nothing — no network, no console". A plain form on a boosted (sx-boost) page has no sx-get/sx-post, so the SPA engine boosts it and binds submit -> execute-request. But bind-boost-form called `(execute-request form nil nil)` — discarding the method+action it was handed — and execute-request then asks get-verb-info for a verb, gets nil, and no-ops. So EVERY plain boosted form silently did nothing: the related-posts "remove" button, the editor Save button, the is-a-tag toggle. Fix: pass the form's own method+action as the verbInfo `(dict "method" method "url" action)`, so the request actually fires (body built from the form fields). A latent web-engine bug surfaced by the host's edit page — the first page with plain boosted POST forms. Test: relate-picker.spec.js gains a remove-button case (relate, reload, click remove, assert the relation is gone) — 7/7. WASM rebuilt (boot-helpers.sxbc). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
26 KiB
26 KiB