Skip to content

Commit

Permalink
QA: Fix: #6019 - Refresh logging out
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Dec 27, 2024
1 parent 26abeaa commit f9847fc
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions lib/html_filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -886,9 +886,20 @@ function finishFinalize(options, data) {
$buttonFunctions
$(function() {
refreshFunction = '$changeFunction';
refreshMSeconds = $refreshMSeconds;
setupPageTimeout();
if ($('#refresh').length) {
refreshFunction = '$changeFunction';
refreshMSeconds = $refreshMSeconds;
refreshIsLogout = false;
setupPageTimeout();
$('#refresh').on('selectmenuopen', function() {
if (myRefresh > 0) {
clearTimeout(myRefresh);
}
});
} else if (myRefresh > 0) {
clearTimeout(myRefresh);
}
$('#" . $this->form_id . "').submit(function(event) {
event.preventDefault();
Expand Down

0 comments on commit f9847fc

Please sign in to comment.