summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static/js
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/layerdetails.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
index 683486e53b..0d4240b354 100644
--- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
+++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js
@@ -366,7 +366,7 @@ function layerDetailsPageInit (ctx) {
366 if ($(this).is("dt")) { 366 if ($(this).is("dt")) {
367 var dd = $(this).next("dd"); 367 var dd = $(this).next("dd");
368 if (!dd.children("form:visible")|| !dd.find(".current-value").html()){ 368 if (!dd.children("form:visible")|| !dd.find(".current-value").html()){
369 if (ctx.layerVersion.sourceId == 3){ 369 if (ctx.layerVersion.layer_source == ctx.layerSourceTypes.TYPE_IMPORTED){
370 /* There's no current value and the layer is editable 370 /* There's no current value and the layer is editable
371 * so show the "Not set" and hide the delete icon 371 * so show the "Not set" and hide the delete icon
372 */ 372 */