do close modal upon confirmation

This commit is contained in:
El RIDO 2024-05-05 20:52:29 +02:00
parent 5067e9222c
commit da8b6a2c67
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

View File

@ -104,7 +104,7 @@ endif;
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="<?php echo I18n::_('Close') ?>"></button> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="<?php echo I18n::_('Close') ?>"></button>
</div> </div>
<div class="modal-body text-center"> <div class="modal-body text-center">
<button id="loadconfirm-open-now" type="button" class="btn btn-success" data-dismiss="modal"><svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#cloud-download" /></svg> <?php echo I18n::_('Yes, see it') ?></button> <button id="loadconfirm-open-now" type="button" class="btn btn-success" data-bs-dismiss="modal"><svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#cloud-download" /></svg> <?php echo I18n::_('Yes, see it') ?></button>
</div> </div>
</div> </div>
</div> </div>