* Code fot task#44028.

This commit is contained in:
qiyu-xie
2021-11-07 13:44:24 +08:00
parent 988bb5c774
commit 8f902ccf2d
9 changed files with 33 additions and 14 deletions
+5 -1
View File
@@ -53,7 +53,11 @@ class branch extends control
{
if($_POST)
{
$this->branch->create($productID);
$branchID = $this->branch->create($productID);
if(dao::isError()) die(js::error(dao::getError()));
$this->loadModel('action')->create('branch', $branchID, 'Opened');
die(js::reload('parent.parent'));
}
$this->display();