Skip to content

Commit

Permalink
XWIKI-21600: Various close button modals do not use icons (#2821)
Browse files Browse the repository at this point in the history
* Updated close buttons on the export modal
* Removed incorrect escaping from the location picker modal

(cherry picked from commit 7758661)
  • Loading branch information
Sereza7 authored and surli committed Feb 6, 2024
1 parent 206148b commit 21f8553
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
$services.icon.renderHTML('cross')
</button>
<div class="modal-title" id="exportModalLabel">
$services.icon.renderHTML('download')
$escapetool.xml($services.localization.render('core.menu.export'))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
<button type="button" class="close" data-dismiss="modal" title="Close">
$services.icon.renderHTML('cross')
</button>
<div class="modal-title">$services.localization.render('core.documentPicker.title')</div>
</div>
Expand Down

0 comments on commit 21f8553

Please sign in to comment.