Allow the input for targets to contain tasks in the form target:task
[YOCTO #7501]
(Bitbake rev:
cf7d0418ff2d4aec508c7942f96e9b52a491b25e)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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);
});