* Chang return value.

This commit is contained in:
caoyanyi
2023-07-18 13:01:55 +08:00
parent a1a7244fdd
commit aaa2e0b4e6
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1466,7 +1466,7 @@ class taskZen extends task
{
if($this->viewType == 'json' || (defined('RUN_MODE') && RUN_MODE == 'api')) return array('result' => 'success');
if(helper::isAjaxRequest('modal')) return $this->responseModal($task, $from);
return array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => $this->createLink('task', 'view', "taskID={$task->id}"));
return array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => true, 'closeModal' => true);
}
/**