Mobile theme WIP:

- Fix sidebar header menu does not come up when user has slider header from pixelegg switched off
This commit is contained in:
Hadi Nategh 2016-01-19 13:31:31 +00:00
parent f171c89cc9
commit ff0571a85f

View File

@ -55,7 +55,8 @@ class pixelegg_framework extends jdots_framework
function header(array $extra=array())
{
// load our slider.js, but only if framework requested
if (!self::$header_done && $_GET['cd'] === 'yes')
if (!self::$header_done && $_GET['cd'] === 'yes' &&
!(html::$ua_mobile || $GLOBALS['egw_info']['user']['preferences']['common']['theme'] == 'mobile'))
{
self::validate_file('/pixelegg/js/slider.js');
}