8 lines
363 B
JavaScript
8 lines
363 B
JavaScript
window.reloadByProduct = function(e)
|
|
{
|
|
let extra = 'projectID=' + projectID + ',executionID=' + executionID;
|
|
if(typeof fromID != 'undefined') extra += ',fromID=' + fromID;
|
|
if(typeof fromType != 'undefined') extra += ',fromType=' + fromType;
|
|
loadPage($.createLink('bug', 'create', 'productID=' + $(e.target).val() + '&branch=0&extra=' + extra));
|
|
}
|