On 27/03/2015 15:49, "Michael Wood" <[email protected]> wrote:
>Allow the input for targets to contain tasks in the form target:task > >[YOCTO #7501] This works great. Thanks! Belén > >Signed-off-by: Michael Wood <[email protected]> >--- > bitbake/lib/toaster/toastergui/static/js/base.js | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > >diff --git a/bitbake/lib/toaster/toastergui/static/js/base.js >b/bitbake/lib/toaster/toastergui/static/js/base.js >index 777ab43..f57e4d9 100644 >--- a/bitbake/lib/toaster/toastergui/static/js/base.js >+++ b/bitbake/lib/toaster/toastergui/static/js/base.js >@@ -88,10 +88,9 @@ function basePageInit (ctx) { > 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); > }); > >-- >2.1.0 > >-- >_______________________________________________ >toaster mailing list >[email protected] >https://lists.yoctoproject.org/listinfo/toaster -- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
