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,13 +15,14 @@
|
|||||||
$notification_config = config::read('notifications');
|
$notification_config = config::read('notifications');
|
||||||
if ($notification_config['popup_enable']) {
|
if ($notification_config['popup_enable']) {
|
||||||
$GLOBALS['egw']->translation->add_app('notifications');
|
$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 '<script type="text/javascript">egwpopup_init();</script>';
|
||||||
echo '
|
echo '
|
||||||
<div id="egwpopup" style="display: none; z-index: 999;">
|
<div id="egwpopup" style="display: none; z-index: 999;">
|
||||||
<div id="egwpopup_header">'.lang('Notification').'</div>
|
<div id="egwpopup_header">'.lang('Notification').'</div>
|
||||||
<div id="egwpopup_message"></div>
|
<div id="egwpopup_message"></div>
|
||||||
<div id="egwpopup_footer">
|
<div id="egwpopup_footer">
|
||||||
<input id="egwpopup_ok_button" type="submit" value="'. lang('ok'). '" onClick="egwpopup_button_ok();">
|
<input id="egwpopup_ok_button" type="submit" value="'. lang('ok'). '" onClick="egwpopup_button_ok();">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user