This commit is contained in:
sunguangming
2024-01-23 10:22:28 +08:00
parent 0f96ddb70b
commit 7a5cd03257
3 changed files with 16 additions and 2 deletions
+8 -1
View File
@@ -1593,7 +1593,14 @@ class taskZen extends task
if($this->app->rawMethod == 'recordworkhour')
{
$response['callback'] = "loadModal('" . inLink('recordworkhour', "taskID={$task->id}") . "', '#modal-record-hours-task-{$task->id}')";
if($from == 'edittask')
{
$response['callback'] = "refreshConsumed('{$task->consumed}');";
}
else
{
$response['callback'] = "loadModal('" . inLink('recordworkhour', "taskID={$task->id}") . "', '#modal-record-hours-task-{$task->id}')";
}
}
else
{