reload framework when theme changes (eg. to mobile)

This commit is contained in:
Ralf Becker 2014-11-27 08:13:26 +00:00
parent f17042b34d
commit 2a426ca420

View File

@ -90,7 +90,7 @@ class preferences_settings
$GLOBALS['egw']->preferences->read_repository();
}
// name of common preferences which require reload of framework, if there values change
$require_reload = array('template_set', 'lang');
$require_reload = array('template_set', 'theme', 'lang');
$old_values = array_intersect_key($GLOBALS['egw_info']['user']['preferences']['common'], array_flip($require_reload));
$attribute = $type == 'group' ? 'user' : $type;