* Fix bug when project is 0.
This commit is contained in:
@@ -234,7 +234,7 @@ function loadExecutions(productID, projectID = 0)
|
||||
|
||||
function loadExecutionLabel(projectID)
|
||||
{
|
||||
if(config.currentMethod == 'create' && projectID)
|
||||
if(config.currentMethod == 'create' && projectID > 0)
|
||||
{
|
||||
const link = $.createLink('bug', 'ajaxGetExecutionLang', 'projectID=' + projectID);
|
||||
$.post(link, function(executionLang)
|
||||
|
||||
Reference in New Issue
Block a user