summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/projectpage.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/projectpage.js b/bitbake/lib/toaster/toastergui/static/js/projectpage.js
index 4a482d78ca..0666bde907 100644
--- a/bitbake/lib/toaster/toastergui/static/js/projectpage.js
+++ b/bitbake/lib/toaster/toastergui/static/js/projectpage.js
@@ -116,6 +116,8 @@ function projectPageInit(ctx) {
116 addRmLayer(layerObj, true); 116 addRmLayer(layerObj, true);
117 /* Reset the text input */ 117 /* Reset the text input */
118 layerAddInput.val(""); 118 layerAddInput.val("");
119 /* Disable the add layer button*/
120 layerAddBtn.attr("disabled", "disabled");
119 }); 121 });
120 122
121 function addRmLayer(layerObj, add){ 123 function addRmLayer(layerObj, add){