[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:
@@ -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") {
|
||||
|
Reference in New Issue
Block a user