* Fix bug #29684.
This commit is contained in:
@@ -587,13 +587,13 @@ function loadProjectBuilds(projectID)
|
||||
function loadExecutionBuilds(executionID, num)
|
||||
{
|
||||
if(typeof(num) == 'undefined') num = '';
|
||||
var branch = $('#branch' + num).val();
|
||||
|
||||
if(typeof(branch) == 'undefined') var branch = 0;
|
||||
|
||||
var branch = $('#branch' + num).val();
|
||||
var oldOpenedBuild = $('#openedBuild' + num).val() ? $('#openedBuild' + num).val() : 0;
|
||||
var productID = $('#product' + num).val();
|
||||
|
||||
if(typeof(branch) == 'undefined') var branch = 0;
|
||||
if(typeof(productID) == 'undefined') var productID = 0;
|
||||
|
||||
if(page == 'create')
|
||||
{
|
||||
link = createLink('build', 'ajaxGetExecutionBuilds', 'executionID=' + executionID + '&productID=' + productID + '&varName=openedBuild&build=' + oldOpenedBuild + "&branch=" + branch + "&index=0&needCreate=true");
|
||||
|
||||
Reference in New Issue
Block a user