* [bug#51320,done,0.2h] Or jump to the research task module.

This commit is contained in:
hufangzhou
2024-06-18 16:32:03 +08:00
committed by 王于听
parent e049745e46
commit 0842d1cadc
+3 -1
View File
@@ -528,10 +528,12 @@ class task extends control
$actionID = $this->loadModel('action')->create('task', $effort->objectID, 'EditEffort', $this->post->work);
$this->action->logHistory($actionID, $changes);
$currentModule = $this->config->vision == 'or' ? 'researchtask' : 'task';
$url = $this->createLink($currentModule, 'recordWorkhour', "taskID={$effort->objectID}");
return $this->send(array(
'result' => 'success',
'message' => $this->lang->saveSuccess,
'callback' => "loadModal('" . inLink('recordWorkhour', "taskID={$effort->objectID}") . "')"
'callback' => "loadModal('$url')"
));
}