* [task#132177,done,0.2h] add action.
This commit is contained in:
@@ -539,6 +539,10 @@ class design extends control
|
||||
$this->design->confirmStoryChange($designID);
|
||||
|
||||
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
|
||||
|
||||
$design = $this->design->fetchByID($designID);
|
||||
$this->loadModel('action')->create('design', $designID, 'confirmed', '', $design->storyVersion);
|
||||
|
||||
return $this->send(array('result' => 'success', 'load' => true));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user