reload framework if (custom-)template-color changes

This commit is contained in:
Ralf Becker 2014-12-18 11:09:03 +00:00
parent cd67495c8b
commit a8fb9082e9

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', 'template_color', 'template_custom_color');
$old_values = array_intersect_key($GLOBALS['egw_info']['user']['preferences']['common'], array_flip($require_reload));
$attribute = $type == 'group' ? 'user' : $type;