WIP on htmx 4; change target from window to body (#60)

This commit is contained in:
2026-07-14 19:55:55 -04:00
parent e8ee236c1e
commit 76f0506de7
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -523,7 +523,7 @@ let redirectList (model: RedirectRule list) app = [
let tagMapEdit (model: EditTagMapModel) app = [
h5 [ _class "my-3" ] [ txt app.PageTitle ]
form [ _hxPost (relUrl app "admin/settings/tag-mapping/save"); _method "post"; _hxBoost; _class "container"
_hxTarget "#tagList"; _hxSwap $"{HxSwap.OuterHtml} show:top showTarget:window" ] [
_hxTarget "#tagList"; _hxSwap $"{HxSwap.OuterHtml} show:top showTarget:top" ] [
antiCsrf app
input [ _type "hidden"; _name "Id"; _value model.Id ]
div [ _class "row mb-3" ] [