summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/layerdetails.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
index 96372f06f4..d9ba687354 100644
--- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
+++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
@@ -202,6 +202,12 @@ function layerDetailsPageInit (ctx) {
202 /* re run the machinesTabShow to update the text */ 202 /* re run the machinesTabShow to update the text */
203 machinesTabShow(); 203 machinesTabShow();
204 } 204 }
205
206 $(".select-machine-btn").click(function(e){
207 if ($(this).attr("disabled") === "disabled")
208 e.preventDefault();
209 });
210
205 }); 211 });
206 212
207 $("#targets-tab").on('show', targetsTabShow); 213 $("#targets-tab").on('show', targetsTabShow);
@@ -385,10 +391,6 @@ function layerDetailsPageInit (ctx) {
385 $(this).parents("form").submit(); 391 $(this).parents("form").submit();
386 }); 392 });
387 393
388 $(".select-machine-btn").click(function(e){
389 if ($(this).attr("disabled") === "disabled")
390 e.preventDefault();
391 });
392 394
393 layerDepsList.find(".icon-trash").click(layerDepRemoveClick); 395 layerDepsList.find(".icon-trash").click(layerDepRemoveClick);
394 layerDepsList.find("a").tooltip(); 396 layerDepsList.find("a").tooltip();