forked from extern/egroupware
xajax check for upcomming notification module
This commit is contained in:
parent
a43348fc54
commit
0144a3aa92
@ -1277,7 +1277,12 @@
|
|||||||
$java_script .= $GLOBALS['egw']->js->get_javascript_globals();
|
$java_script .= $GLOBALS['egw']->js->get_javascript_globals();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($GLOBALS['egw']->acl->check('run',1,'notifications') && !$GLOBALS['egw_info']['user']['preferences']['notifications']['disable_ajaxpopup'])
|
||||||
|
{
|
||||||
|
$GLOBALS['egw_info']['flags']['include_xajax'] = true;
|
||||||
|
}
|
||||||
|
|
||||||
if ($GLOBALS['egw_info']['flags']['include_xajax'])
|
if ($GLOBALS['egw_info']['flags']['include_xajax'])
|
||||||
{
|
{
|
||||||
require_once(EGW_SERVER_ROOT.'/phpgwapi/inc/xajax.inc.php');
|
require_once(EGW_SERVER_ROOT.'/phpgwapi/inc/xajax.inc.php');
|
||||||
|
Loading…
Reference in New Issue
Block a user