Fix mobile theme always opens the Home as first active tab without respecting the last opened tab

This commit is contained in:
Hadi Nategh 2015-11-23 17:05:35 +00:00
parent 98b12c024b
commit 8e90df65e1

View File

@ -97,7 +97,7 @@ if(@file_exists($tpl_info))
}
if($app == 'home' && !$class && !$api_requested && !($windowed && $_GET['cd'] == 'yes' && !html::$ua_mobile))
if($app == 'home' && !$class && !$api_requested && !($windowed && $_GET['cd'] == 'yes' && !html::$ua_mobile) && $GLOBALS['egw_info']['user']['preferences']['common']['template_set'] == 'idots')
{
if ($GLOBALS['egw_info']['server']['force_default_app'] && $GLOBALS['egw_info']['server']['force_default_app'] != 'user_choice')
{