* [bug] fix bugs.
This commit is contained in:
@@ -421,6 +421,7 @@ class custom extends control
|
||||
$this->custom->disableFeaturesByMode($mode);
|
||||
|
||||
if($mode == 'light') $this->custom->processProjectAcl();
|
||||
if($mode == 'ALM') $this->loadModel('setting')->setItem('system.common.closedFeatures', 'otherOA');
|
||||
|
||||
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
|
||||
return $this->sendSuccess(array('callback' => '$.apps.updateAppsMenu(true);', 'load' => true, 'closeModel' => true));
|
||||
|
||||
Reference in New Issue
Block a user