[bitbake-devel] [PATCH 2/8] toaster: BuildButton target input allow building targets with tasks
Alex DAMIAN
alexandru.damian at intel.com
Thu Apr 16 14:47:35 UTC 2015
From: Michael Wood <michael.g.wood at intel.com>
Allow the input for targets to contain tasks in the form target:task
[YOCTO #7501]
Signed-off-by: Michael Wood <michael.g.wood at intel.com>
---
lib/toaster/toastergui/static/js/base.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/toaster/toastergui/static/js/base.js b/lib/toaster/toastergui/static/js/base.js
index 241c5d2..667c5df 100644
--- a/lib/toaster/toastergui/static/js/base.js
+++ b/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);
});
--
1.9.1
More information about the bitbake-devel
mailing list