* [bug #56149, doing] load home libs after edit lib.
This commit is contained in:
@@ -192,7 +192,10 @@ class doc extends control
|
||||
}
|
||||
|
||||
$lib = $this->doc->getLibByID($libID);
|
||||
return $this->send(array('message' => $this->lang->saveSuccess, 'result' => 'success', 'closeModal' => true, 'docApp' => array('update', ($lib->parent == 0) ? 'space' : 'lib', $lib)));
|
||||
$docAppActions = array();
|
||||
$docAppActions[] = array('update', ($lib->parent == 0) ? 'space' : 'lib', $lib);
|
||||
$docAppActions[] = array('home:loadHomeLibs');
|
||||
return $this->send(array('message' => $this->lang->saveSuccess, 'result' => 'success', 'closeModal' => true, 'docApp' => $docAppActions));
|
||||
}
|
||||
|
||||
if(!empty($lib->product)) $this->view->object = $this->product->getByID($lib->product);
|
||||
|
||||
Reference in New Issue
Block a user