Skip to content

Commit

Permalink
XWIKI-21600: Various close button modals do not use icons
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
  • Loading branch information
Sereza7 committed Jan 25, 2024
1 parent b8cf28d commit d83f7af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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 @@ -224,7 +224,7 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" title="Close">
$escapetool.javascript($services.icon.renderHTML('cross'))
$services.icon.renderHTML('cross')
</button>
<div class="modal-title">$services.localization.render('core.documentPicker.title')</div>
</div>
Expand Down

0 comments on commit d83f7af

Please sign in to comment.