diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-03-27 15:49:54 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-17 11:53:56 +0100 |
commit | 0405ef3816d2e3c965d6eb5f25067f53a99c6d2f (patch) | |
tree | 96cf68f9cd69d4fbf14abf7d086cdb8b25055672 /bitbake | |
parent | fab29bd73720c27ca605f9f0112a3df1ffaa90da (diff) | |
download | poky-0405ef3816d2e3c965d6eb5f25067f53a99c6d2f.tar.gz |
bitbake: toaster: BuildButton target input allow building targets with tasks
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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/base.js | 5 |
1 files 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 241c5d2e0c..667c5dff6c 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) { | |||
88 | if (!newBuildTargetInput.val()) | 88 | if (!newBuildTargetInput.val()) |
89 | return; | 89 | return; |
90 | 90 | ||
91 | if (!selectedTarget) | 91 | var selectedTargetName = newBuildTargetInput.val(); |
92 | selectedTarget = { name: newBuildTargetInput.val() }; | ||
93 | /* fire and forget */ | 92 | /* fire and forget */ |
94 | libtoaster.startABuild(ctx.projectBuildUrl, ctx.projectId, selectedTarget.name, null, null); | 93 | libtoaster.startABuild(ctx.projectBuildUrl, ctx.projectId, selectedTargetName, null, null); |
95 | window.location.replace(ctx.projectPageUrl+ctx.projectId); | 94 | window.location.replace(ctx.projectPageUrl+ctx.projectId); |
96 | }); | 95 | }); |
97 | 96 | ||