* [bug#57250,start,2h] reload with fromID and fromType.
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
window.reloadByProduct = function(e)
|
||||
{
|
||||
loadPage($.createLink('bug', 'create', 'productID=' + $(e.target).val() + '&branch=0&extra=projectID=' + projectID + ',executionID=' + executionID));
|
||||
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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user