* Use ajaxFrom submit it.

This commit is contained in:
daitingting
2018-07-24 15:39:37 +08:00
parent afd1728913
commit c4a752478c
3 changed files with 24 additions and 4 deletions
+3 -3
View File
@@ -221,11 +221,11 @@ class task extends control
if(!empty($_POST))
{
$mails = $this->task->batchCreate($projectID);
if(dao::isError()) die(js::error(dao::getError()));
if(dao::isError()) $this->send(array('result' => 'fail', 'message' => dao::getError()));
/* Locate the browser. */
if(!empty($iframe)) die(js::reload('parent.parent'));
die(js::locate($storyLink, 'parent'));
if(!empty($iframe)) $this->send(array('result' => 'success', 'locate' => 'parent'));
$this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $storyLink));
}
/* Set Custom*/