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 67c88f1d19
commit e1b1339f80

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(