summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-09-03 15:43:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-03 16:49:11 +0100
commit4daaaf63a26b7dd1c1f035d43c45abffe7b62d76 (patch)
tree4b7c74e85b88761cfd3fb2439066638740a1ee3b
parentb147ba0341d87e077bd2b09ef4355976ecd2d26b (diff)
downloadbitbake-4daaaf63a26b7dd1c1f035d43c45abffe7b62d76.zip
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. Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/toaster/toastergui/static/js/base.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/toaster/toastergui/static/js/base.js b/lib/toaster/toastergui/static/js/base.js
index eba9c167..e0df4639 100644
--- a/lib/toaster/toastergui/static/js/base.js
+++ b/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);
}