mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
do NOT check eT2 popups for missing framework
This commit is contained in:
parent
9b17fa7871
commit
d04e6ebdec
@ -248,7 +248,8 @@ abstract class Ajax extends Api\Framework
|
||||
if (!in_array($GLOBALS['egw_info']['flags']['currentapp'], array('manual', 'login', 'logout', 'sitemgr')))
|
||||
{
|
||||
if (empty($GLOBALS['egw_info']['flags']['java_script'])) $GLOBALS['egw_info']['flags']['java_script']='';
|
||||
$extra['check-framework'] = $_GET['cd'] !== 'no';
|
||||
// eT2 sets $GLOBALS['egw_info']['flags']['nonavbar'] === 'popup' for popups, Etemplate::exec($outputmode === 2)
|
||||
$extra['check-framework'] = $_GET['cd'] !== 'no' && $GLOBALS['egw_info']['flags']['nonavbar'] !== 'popup';
|
||||
}
|
||||
}
|
||||
// allow apps to load JavaScript or CSS files, knowing we're loading the framework or not
|
||||
|
Loading…
Reference in New Issue
Block a user