Fixed dialog show for quickbox transform
This commit is contained in:
parent
a76d0739ba
commit
1a11db7d6c
@ -1,7 +1,6 @@
|
|||||||
{{define "page:content"}}
|
{{define "page:content"}}
|
||||||
<dialog class="quickbox-transform">
|
<dialog id="dialog" class="quickbox-transform">
|
||||||
<div class="w3-modal-content w3-round-large w3-animate-top">
|
<header>
|
||||||
<header class="w3-container">
|
|
||||||
<h5>
|
<h5>
|
||||||
<i class="bi bi-arrow-up-left-circle-fill" title="Transform"></i> Quicknote transform
|
<i class="bi bi-arrow-up-left-circle-fill" title="Transform"></i> Quicknote transform
|
||||||
</h5>
|
</h5>
|
||||||
@ -102,6 +101,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
|
||||||
</dialog>
|
</dialog>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -128,6 +128,7 @@ func (app *application) quickboxTransform(w http.ResponseWriter, r *http.Request
|
|||||||
app.serverError(w, r, err)
|
app.serverError(w, r, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
w.Header().Add("HX-Trigger-After-Settle", `{"showModalDialog": ""}`)
|
||||||
fullBuf.WriteTo(w)
|
fullBuf.WriteTo(w)
|
||||||
|
|
||||||
case http.MethodPost:
|
case http.MethodPost:
|
||||||
|
Loading…
Reference in New Issue
Block a user