Fixed dialog show for quickbox transform
This commit is contained in:
parent
a76d0739ba
commit
1a11db7d6c
@ -1,7 +1,6 @@
|
||||
{{define "page:content"}}
|
||||
<dialog class="quickbox-transform">
|
||||
<div class="w3-modal-content w3-round-large w3-animate-top">
|
||||
<header class="w3-container">
|
||||
<dialog id="dialog" class="quickbox-transform">
|
||||
<header>
|
||||
<h5>
|
||||
<i class="bi bi-arrow-up-left-circle-fill" title="Transform"></i> Quicknote transform
|
||||
</h5>
|
||||
@ -102,6 +101,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</dialog>
|
||||
{{ end }}
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user