From 2a426ca42031c385661d6843c811d872e3cf509a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 27 Nov 2014 08:13:26 +0000 Subject: [PATCH] reload framework when theme changes (eg. to mobile) --- preferences/inc/class.preferences_settings.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preferences/inc/class.preferences_settings.inc.php b/preferences/inc/class.preferences_settings.inc.php index 7bc9d10f93..edf4fbfc30 100644 --- a/preferences/inc/class.preferences_settings.inc.php +++ b/preferences/inc/class.preferences_settings.inc.php @@ -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;