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:
parent
7a95aa7210
commit
3c655807e8
|
@ -87,7 +87,7 @@ var eventDataStrings = {
|
||||||
Emailed: '<?php echo translate('Emailed') ?>'
|
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 filterQuery = '<?php echo isset($filterQuery)?validJsStr(htmlspecialchars_decode($filterQuery)):'' ?>';
|
||||||
var sortQuery = '<?php echo isset($sortQuery)?validJsStr(htmlspecialchars_decode($sortQuery)):'' ?>';
|
var sortQuery = '<?php echo isset($sortQuery)?validJsStr(htmlspecialchars_decode($sortQuery)):'' ?>';
|
||||||
|
|
Loading…
Reference in New Issue