26 lines
542 B
JavaScript
26 lines
542 B
JavaScript
$(function()
|
|
{
|
|
$('#createBuild').click(function()
|
|
{
|
|
if(executions.length == 0)
|
|
{
|
|
alert(createExecution);
|
|
location.href = createLink('execution', 'create', 'projectID=' + projectID);
|
|
return false;
|
|
}
|
|
});
|
|
});
|
|
|
|
/**
|
|
* Change product.
|
|
*
|
|
* @param int $productID
|
|
* @access public
|
|
* @return void
|
|
*/
|
|
function changeProduct(productID)
|
|
{
|
|
link = createLink('project', 'build', 'projectID=' + projectID + '&type=product¶m=' + productID);
|
|
location.href = link;
|
|
}
|