2
0
forked from Wavyzz/dolibarr

Fix tz of message on popup

This commit is contained in:
Laurent Destailleur
2022-01-17 19:07:02 +01:00
parent 0e44bfd4e4
commit a072c8911a
2 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ print "jQuery(document).ready(function () {\n";
//print " console.log('referrer=".dol_escape_js($_SERVER['HTTP_REFERER'])."');\n";
print ' var nowtime = Date.now();';
print ' var time_auto_update = '.$conf->global->MAIN_BROWSER_NOTIFICATION_FREQUENCY.';'."\n"; // Always defined
print ' var time_auto_update = '.max(1, getDolGlobalInt('MAIN_BROWSER_NOTIFICATION_FREQUENCY')).';'."\n"; // Always defined
print ' var time_js_next_test;'."\n";
?>