Allow the input for targets to contain tasks in the form target:task
[YOCTO #7501]
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
if (!newBuildTargetInput.val())
return;
- if (!selectedTarget)
- selectedTarget = { name: newBuildTargetInput.val() };
+ var selectedTargetName = newBuildTargetInput.val();
/* fire and forget */
- libtoaster.startABuild(ctx.projectBuildUrl, ctx.projectId, selectedTarget.name, null, null);
+ libtoaster.startABuild(ctx.projectBuildUrl, ctx.projectId, selectedTargetName, null, null);
window.location.replace(ctx.projectPageUrl+ctx.projectId);
});