Merge branch 'master' of github.com:ZoneMinder/zoneminder

pull/4430/merge
Isaac Connor 2025-10-03 16:11:05 -04:00
commit 8f475faf12
1 changed files with 4 additions and 1 deletions

View File

@ -560,6 +560,9 @@ function submitTab(evt) {
function submitThisForm(param = null) {
var form = this.form;
var filter = null; // The filter that we previously moved to the left sidebar menu
if (!form && param && typeof param === 'object' && ('tagName' in param && param.tagName == 'FORM')) { // A form can be passed as a parameter.
form = param;
}
if (navbar_type == 'left' && !form) {
if (currentView == 'console') {
// We get the form that we process
@ -1962,7 +1965,7 @@ function resetSelectElement(el) {
if (currentView == 'events') {
filterEvents(clickedElement = selectElement);
} else {
submitThisForm();
submitThisForm(this.closest('form'));
}
}