mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
c80b582212
commit
249f36660f
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user