Also reload the colors for app category if color changes

This commit is contained in:
nathangray 2018-07-27 10:10:22 -06:00
parent 10a4662d07
commit 459f55d556

View File

@ -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(