* Finish task#8055: Modify the name of the param.

This commit is contained in:
hufangzhou
2020-10-12 11:28:49 +08:00
parent fa86eaeb2f
commit 74fb8fffa3
+3 -6
View File
@@ -96,15 +96,12 @@ function loadBranch()
/**
*Load all builds of one project or product.
*
* @param that $that
* @param object $object
* @access public
* @return void
*/
function loadAllBuilds(that)
function loadAllBuilds(object)
{
that = (typeof that == undefined) ? undefined : that;
resolvedBuildBox = (typeof resolvedBuildBox == undefined) ? false : resolvedBuildBox;
if(page == 'resolve')
{
oldResolvedBuild = $('#resolvedBuild').val() ? $('#resolvedBuild').val() : 0;
@@ -117,7 +114,7 @@ function loadAllBuilds(that)
projectID = $('#project').val();
var buildBox = '';
if(page == 'edit') buildBox = $(that).closest('.input-group').attr('id');
if(page == 'edit') buildBox = $(object).closest('.input-group').attr('id');
if(projectID)
{