From e1b1339f80beafc048e757ec0f19baf347d54b59 Mon Sep 17 00:00:00 2001 From: nathangray Date: Fri, 27 Jul 2018 10:10:22 -0600 Subject: [PATCH] Also reload the colors for app category if color changes --- admin/inc/class.admin_categories.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin/inc/class.admin_categories.inc.php b/admin/inc/class.admin_categories.inc.php index ec28061638..f4c2494c68 100644 --- a/admin/inc/class.admin_categories.inc.php +++ b/admin/inc/class.admin_categories.inc.php @@ -187,6 +187,10 @@ class admin_categories { // Update category styles Api\Json\Response::get()->apply('opener.egw.includeCSS',array(Categories::css($refresh_app == 'admin' ? Categories::GLOBAL_APPNAME : $refresh_app))); + if($refresh_app != $content['appname']) + { + Api\Json\Response::get()->apply('opener.egw.includeCSS',array(Categories::css($content['appname']))); + } if($this->appname != 'admin') { Api\Json\Response::get()->apply('opener.egw.show_preferences',array(