summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui
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:52:47 +0100
commit249f36660fea425e7f3cb7327061bfc74f50bb96 (patch)
tree0661e7582b484d8bf29727afbdd25f91fd9bb6e7 /bitbake/lib/toaster/toastergui
parentc80b582212336044c55052ad0d39f9da06d71438 (diff)
downloadpoky-249f36660fea425e7f3cb7327061bfc74f50bb96.tar.gz
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 <belen.barros.pena@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/base.js2
1 files changed, 0 insertions, 2 deletions
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) {
82 return; 82 return;
83 } 83 }
84 84
85
86 /* Hide the change project icon when there is only one project */ 85 /* Hide the change project icon when there is only one project */
87 if (ctx.numProjects === 1) { 86 if (ctx.numProjects === 1) {
88 $('#project .icon-pencil').hide(); 87 $('#project .icon-pencil').hide();
@@ -140,7 +139,6 @@ function basePageInit(ctx) {
140 139
141 /* we can build this project; enable input fields */ 140 /* we can build this project; enable input fields */
142 newBuildTargetInput.removeAttr("disabled"); 141 newBuildTargetInput.removeAttr("disabled");
143 newBuildTargetBuildBtn.removeAttr("disabled");
144 } 142 }
145 }, null); 143 }, null);
146 } 144 }