* Finish task #83215, #83210.

This commit is contained in:
liumengyi
2023-01-30 15:39:20 +08:00
parent 165e7f5bb0
commit 5e179c8b05
5 changed files with 84 additions and 47 deletions
+12
View File
@@ -175,6 +175,18 @@ function refreshPage(projectID)
location.href = createLink('execution', 'create', 'projectID=' + projectID);
}
/**
* Refresh page.
*
* @param object $projectID
* @access public
* @return void
*/
function setType(type)
{
location.href = createLink('execution', 'create', 'projectID=' + projectID + '&executionID=0&copyExecutionID=&planID=0&confirm=no&productID=0&extra=type=' + type);
}
/**
* Cut a string of letters and characters with the same length.
*