diff options
| -rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/layerdetails.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js index 8817b47c6b..8c2ec4cdd9 100644 --- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js +++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js | |||
| @@ -254,7 +254,7 @@ function layerDetailsPageInit (ctx) { | |||
| 254 | 254 | ||
| 255 | if (added){ | 255 | if (added){ |
| 256 | /* enable and switch all the button states */ | 256 | /* enable and switch all the button states */ |
| 257 | $(".build-target-btn").removeAttr("disabled"); | 257 | $(".build-recipe-btn").removeAttr("disabled"); |
| 258 | $(".select-machine-btn").removeAttr("disabled"); | 258 | $(".select-machine-btn").removeAttr("disabled"); |
| 259 | addRmLayerBtn.addClass("btn-danger"); | 259 | addRmLayerBtn.addClass("btn-danger"); |
| 260 | addRmLayerBtn.data('directive', "remove"); | 260 | addRmLayerBtn.data('directive', "remove"); |
| @@ -263,7 +263,7 @@ function layerDetailsPageInit (ctx) { | |||
| 263 | 263 | ||
| 264 | } else { | 264 | } else { |
| 265 | /* disable and switch all the button states */ | 265 | /* disable and switch all the button states */ |
| 266 | $(".build-target-btn").attr("disabled","disabled"); | 266 | $(".build-recipe-btn").attr("disabled","disabled"); |
| 267 | $(".select-machine-btn").attr("disabled", "disabled"); | 267 | $(".select-machine-btn").attr("disabled", "disabled"); |
| 268 | addRmLayerBtn.removeClass("btn-danger"); | 268 | addRmLayerBtn.removeClass("btn-danger"); |
| 269 | addRmLayerBtn.data('directive', "add"); | 269 | addRmLayerBtn.data('directive', "add"); |
