* Add the Close popup property.

This commit is contained in:
tianshujie
2023-11-01 15:12:58 +08:00
parent 759b0837fd
commit e78c0ac76c
+3 -2
View File
@@ -1629,8 +1629,9 @@ class taskZen extends task
/* If there is a database error, return the error message. */
if(dao::isError()) return array('result' => 'fail', 'message' => dao::getError());
$response['result'] = 'success';
$response['message'] = $this->lang->saveSuccess;
$response['result'] = 'success';
$response['message'] = $this->lang->saveSuccess;
$response['closeModal'] = true;
$message = $this->executeHooks($task->id);
if($message) $response['message'] = $message;