[Web] mailbox.php uses dropups

[Web] Allow to set visibility of aliases in SOGo
[Web] Refresh window when session timed out
[Web] Increase default log lines and pagination trigger
[Web] Increase delay when filtering tables
This commit is contained in:
andryyy
2019-09-22 15:10:56 +02:00
parent baba546c7a
commit c3be04560b
12 changed files with 78 additions and 30 deletions

View File

@@ -146,6 +146,18 @@ $(document).ready(function() {
}
});
// Reload after session timeout
var session_lifetime = <?=(intval($SESSION_LIFETIME) * 1000) + 15000;?>;
<?php
if (isset($_SESSION['mailcow_cc_username'])):
?>
setTimeout(function() {
location.reload();
}, session_lifetime);
<?php
endif;
?>
// CSRF
$('<input type="hidden" value="<?= $_SESSION['CSRF']['TOKEN']; ?>">').attr('name', 'csrf_token').appendTo('form');
if (sessionStorage.scrollTop != "undefined") {