Skip to content

Commit

Permalink
Merge pull request #3783 from sbwalker/dev
Browse files Browse the repository at this point in the history
enable close of modal admin container on static rendering
  • Loading branch information
sbwalker authored Feb 13, 2024
2 parents 6cf117b + e0bec82 commit b2e4172
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Oqtane.Client/Themes/AdminContainer.razor
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"><ModuleTitle /></h5>
<button type="button" class="btn-close" aria-label="Close" @onclick="CloseModal"></button>
<form method="post" class="app-form-button" @formname="AdminContainerForm" @onsubmit="@CloseModal">
<input type="hidden" name="__RequestVerificationToken" value="@SiteState.AntiForgeryToken" />
<button type="submit" class="btn-close" aria-label="Close"></button>
</form>
</div>
<div class="modal-body">
<ModuleInstance />
Expand Down

0 comments on commit b2e4172

Please sign in to comment.