diff --git a/assets/templates/quickbox/transform.tmpl b/assets/templates/quickbox/transform.tmpl index b834942..c51e286 100644 --- a/assets/templates/quickbox/transform.tmpl +++ b/assets/templates/quickbox/transform.tmpl @@ -1,7 +1,6 @@ {{define "page:content"}} - -
-
+ +
Quicknote transform
@@ -102,6 +101,5 @@
-
{{ end }} diff --git a/cmd/web/quickbox_handlers.go b/cmd/web/quickbox_handlers.go index e977c07..3a4ae51 100644 --- a/cmd/web/quickbox_handlers.go +++ b/cmd/web/quickbox_handlers.go @@ -128,6 +128,7 @@ func (app *application) quickboxTransform(w http.ResponseWriter, r *http.Request app.serverError(w, r, err) } + w.Header().Add("HX-Trigger-After-Settle", `{"showModalDialog": ""}`) fullBuf.WriteTo(w) case http.MethodPost: