mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
"added filemtime to force browser to reload javascript file after a modification"
This commit is contained in:
parent
9d55dfa69e
commit
21338a8327
@ -15,7 +15,8 @@
|
||||
$notification_config = config::read('notifications');
|
||||
if ($notification_config['popup_enable']) {
|
||||
$GLOBALS['egw']->translation->add_app('notifications');
|
||||
echo '<script src="'. $GLOBALS['egw_info']['server']['webserver_url']. '/notifications/js/notificationajaxpopup.js'. '" type="text/javascript"></script>';
|
||||
echo '<script src="'. $GLOBALS['egw_info']['server']['webserver_url']. '/notifications/js/notificationajaxpopup.js?'.
|
||||
filemtime(EGW_SERVER_ROOT.'/notifications/js/notificationajaxpopup.js'). '" type="text/javascript"></script>';
|
||||
echo '<script type="text/javascript">egwpopup_init();</script>';
|
||||
echo '
|
||||
<div id="egwpopup" style="display: none; z-index: 999;">
|
||||
|
Loading…
Reference in New Issue
Block a user