mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 18:08:55 +00:00
bitbake: toaster: New build button allow arbitrary build targets
Target input field needed to support both selecting suggestions and typing targets, since Toaster doesn't always know about all the targets provided by the layers in the project. [YOCTO #7187] (Bitbake rev: d753db7a18eb9218016e586171d2a08298a0b05d) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
9819728e12
commit
82d2c502c2
@ -88,6 +88,8 @@ function basePageInit (ctx) {
|
||||
if (!newBuildTargetInput.val())
|
||||
return;
|
||||
|
||||
if (!selectedTarget)
|
||||
selectedTarget = { name: newBuildTargetInput.val() };
|
||||
/* fire and forget */
|
||||
libtoaster.startABuild(ctx.projectBuildUrl, ctx.projectId, selectedTarget.name, null, null);
|
||||
window.location.replace(ctx.projectPageUrl+ctx.projectId);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user