diff --git a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js index a5a6330630..41cbf4ba93 100644 --- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js +++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js @@ -309,8 +309,6 @@ function layerDetailsPageInit (ctx) { var entryElement = mParent.find("input"); if (entryElement.length == 0) entryElement = mParent.find("textarea"); - if (entryElement.length == 0) - entryElement = mParent.find("select"); if (entryElement.length == 0) { console.warn("Could not find element to get data from for this change"); return; @@ -331,12 +329,8 @@ function layerDetailsPageInit (ctx) { /* success layer property changed */ var inputArea = mParent.parents("dd"); var text; - /* We don't actually want the value from the select option we want - * the text that represents the value to display - */ - text = entryElement.children("option:selected").text(); - if (!text) - text = entryElement.val(); + + text = entryElement.val(); /* Hide the "Not set" text if it's visible */ inputArea.find(".muted").hide(); diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html index c69f9e945a..5bed0f8f06 100644 --- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html @@ -160,26 +160,7 @@ -
- - Yocto Project compatibility -
-
- {{layerversion.up_branch.name}} -
-
- - - -
-
- -
-
+
Layer dependencies
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 7a9d662b31..e414b66480 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py @@ -2524,7 +2524,6 @@ if toastermain.settings.MANAGED: context = { 'layerversion': layer_version, 'layer_in_project' : ProjectLayer.objects.filter(project_id=request.session['project_id'],layercommit=layerid).count(), - 'yocto_compat': Branch.objects.filter(layer_source=layer_version.layer_source), 'machines': machines, 'targets': targets, 'total_targets': Recipe.objects.filter(layer_version=layer_version).count(),