[Web] Allow logout with broken session

[Web] Try to set aria hidden to false when a modal opens
This commit is contained in:
andryyy
2019-03-25 12:33:58 +01:00
parent 6a13609bf0
commit 3c4c760e29
2 changed files with 22 additions and 18 deletions

View File

@@ -26,6 +26,10 @@ $(window).load(function() {
$(".overlay").hide();
});
$(document).ready(function() {
$(document).on('shown.bs.modal', function(e) {
modal_id = $(e.relatedTarget).data('target');
$(modal_id).attr("aria-hidden","false");
});
// TFA, CSRF, Alerts in footer.inc.php
// Other general functions in mailcow.js
<?php