forked from extern/egroupware
Also reload the colors for app category if color changes
This commit is contained in:
parent
10a4662d07
commit
459f55d556
@ -187,6 +187,10 @@ class admin_categories
|
|||||||
{
|
{
|
||||||
// Update category styles
|
// Update category styles
|
||||||
Api\Json\Response::get()->apply('opener.egw.includeCSS',array(Categories::css($refresh_app == 'admin' ? Categories::GLOBAL_APPNAME : $refresh_app)));
|
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')
|
if($this->appname != 'admin')
|
||||||
{
|
{
|
||||||
Api\Json\Response::get()->apply('opener.egw.show_preferences',array(
|
Api\Json\Response::get()->apply('opener.egw.show_preferences',array(
|
||||||
|
Loading…
Reference in New Issue
Block a user