Use new Event->Server function to return the correct (and matching url to zms) url to use for ajax status calls. Fixes errors in a multi-server environment.

This commit is contained in:
Isaac Connor 2022-02-03 14:47:32 -05:00
parent 7a95aa7210
commit 3c655807e8
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ var eventDataStrings = {
Emailed: '<?php echo translate('Emailed') ?>'
};
var monitorUrl = '<?php echo $Event->Storage()->Server()->UrlToIndex(); ?>';
var monitorUrl = '<?php echo $Event->Server()->UrlToIndex(); ?>';
var filterQuery = '<?php echo isset($filterQuery)?validJsStr(htmlspecialchars_decode($filterQuery)):'' ?>';
var sortQuery = '<?php echo isset($sortQuery)?validJsStr(htmlspecialchars_decode($sortQuery)):'' ?>';