From 249f36660fea425e7f3cb7327061bfc74f50bb96 Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Thu, 3 Sep 2015 15:43:50 +0100 Subject: bitbake: toaster: disable build button as needed Make sure that the 'build' button in the 'new build' form is disabled whenever the 'recipe(s)' text field is empty. (Bitbake rev: 4daaaf63a26b7dd1c1f035d43c45abffe7b62d76) Signed-off-by: Belen Barros Pena Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/static/js/base.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'bitbake/lib/toaster/toastergui') diff --git a/bitbake/lib/toaster/toastergui/static/js/base.js b/bitbake/lib/toaster/toastergui/static/js/base.js index eba9c16783..e0df463979 100644 --- a/bitbake/lib/toaster/toastergui/static/js/base.js +++ b/bitbake/lib/toaster/toastergui/static/js/base.js @@ -82,7 +82,6 @@ function basePageInit(ctx) { return; } - /* Hide the change project icon when there is only one project */ if (ctx.numProjects === 1) { $('#project .icon-pencil').hide(); @@ -140,7 +139,6 @@ function basePageInit(ctx) { /* we can build this project; enable input fields */ newBuildTargetInput.removeAttr("disabled"); - newBuildTargetBuildBtn.removeAttr("disabled"); } }, null); } -- cgit v1.2.3-54-g00ecf