* Adjust modal reload for task record hours.

This commit is contained in:
caoyanyi
2024-01-19 11:09:11 +08:00
parent 738b55cfa1
commit e6191ee335
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -562,7 +562,7 @@ class task extends control
/* The task status will be set to wait as the consumed effort is set to 0. */
if($task->consumed - $effort->consumed == 0) $this->action->create('task', $taskID, 'Adjusttasktowait');
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => true, 'closeModal' => true));
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => 'modal'));
}
/**