diff options
Diffstat (limited to 'poky/bitbake/lib/toaster/toastergui/static/js')
-rw-r--r-- | poky/bitbake/lib/toaster/toastergui/static/js/layerdetails.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/poky/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/poky/bitbake/lib/toaster/toastergui/static/js/layerdetails.js index 9ead393cb..933b65b4c 100644 --- a/poky/bitbake/lib/toaster/toastergui/static/js/layerdetails.js +++ b/poky/bitbake/lib/toaster/toastergui/static/js/layerdetails.js @@ -359,7 +359,8 @@ function layerDetailsPageInit (ctx) { if ($(this).is("dt")) { var dd = $(this).next("dd"); if (!dd.children("form:visible")|| !dd.find(".current-value").html()){ - if (ctx.layerVersion.layer_source == ctx.layerSourceTypes.TYPE_IMPORTED){ + if (ctx.layerVersion.layer_source == ctx.layerSourceTypes.TYPE_IMPORTED || + ctx.layerVersion.layer_source == ctx.layerSourceTypes.TYPE_LOCAL) { /* There's no current value and the layer is editable * so show the "Not set" and hide the delete icon */ |