Skip to content

Commit

Permalink
Fix fallback image field not be dismissable
Browse files Browse the repository at this point in the history
  • Loading branch information
peterkeating committed Nov 23, 2022
1 parent 96f65fd commit 9082d6e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 19 deletions.
6 changes: 2 additions & 4 deletions Views/ResponsiveMediaFieldSettings.Edit.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -93,16 +93,14 @@ initializeResponsiveMediaEditor(document.getElementById('@Html.IdFor(m => m)'),
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">@T["Select Media"]</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>

<div class="modal-body"></div>

<div class="modal-footer">
<button type="button" class="btn btn-primary mediaFieldSelectButton">@T["OK"]</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">@T["Cancel"]</button>
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">@T["Cancel"]</button>
</div>
</div>
</div>
Expand Down
12 changes: 1 addition & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions wwwroot/Scripts/responsiveMedia/admin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9082d6e

Please sign in to comment.