mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
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:
parent
f171c89cc9
commit
ff0571a85f
@ -55,7 +55,8 @@ class pixelegg_framework extends jdots_framework
|
|||||||
function header(array $extra=array())
|
function header(array $extra=array())
|
||||||
{
|
{
|
||||||
// load our slider.js, but only if framework requested
|
// 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');
|
self::validate_file('/pixelegg/js/slider.js');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user