* fix the error when locate after create a case.
This commit is contained in:
@@ -98,7 +98,7 @@ class testcase extends control
|
||||
if(dao::isError()) die(js::error(dao::getError()));
|
||||
$this->loadModel('action');
|
||||
$this->action->create('case', $caseID, 'Opened');
|
||||
die(js::locate($this->createLink('testcase', 'browse', "productID=$_POST[productID]&type=byModule¶m=$_POST[moduleID]"), 'parent'));
|
||||
die(js::locate($this->createLink('testcase', 'browse', "productID=$_POST[product]&type=byModule¶m=$_POST[module]"), 'parent'));
|
||||
}
|
||||
if(empty($this->products)) $this->locate($this->createLink('product', 'create'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user