This commit is contained in:
liumengyi
2022-07-21 10:22:00 +08:00
parent 70d17e226b
commit 96c59fdf52
2 changed files with 1 additions and 7 deletions
+1 -6
View File
@@ -12,12 +12,7 @@ $(function()
*/
function loadAll(executionID)
{
if(!changeExecutionConfirmed)
{
firstChoice = confirm(confirmChangeExecution);
changeExecutionConfirmed = true; // Only notice the user one time.
}
if(changeExecutionConfirmed && firstChoice)
if(confirm(confirmChangeExecution))
{
loadModuleMenu(executionID);
loadExecutionStories(executionID);
-1
View File
@@ -23,7 +23,6 @@
<?php js::set('team', $task->team);?>
<?php js::set('members', $members);?>
<?php js::set('confirmChangeExecution', $lang->task->confirmChangeExecution);?>
<?php js::set('changeExecutionConfirmed', false);?>
<?php js::set('newRowCount', count($task->team) < 6 ? 6 - count($task->team) : 1);?>
<?php js::set('teamMemberError', $lang->task->error->teamMember);?>
<?php js::set('totalLeftError', sprintf($this->lang->task->error->leftEmptyAB, $this->lang->task->statusList[$task->status]));?>