diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-01-14 12:46:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-16 08:25:31 +0000 |
commit | ce784879f48086ba8d33d7589293afbaf94780a0 (patch) | |
tree | fa60501af2055628d6b546d43917bfc9869d1827 /bitbake/lib/toaster/toastergui/static/js/layerdetails.js | |
parent | 025533d90b694ed37278c8f5be85afbd05857971 (diff) | |
download | poky-ce784879f48086ba8d33d7589293afbaf94780a0.tar.gz |
bitbake: toaster: layerdetails Remove compatibility setting
Remove the layer compatibility configuration option from the layer
details as this is not in the design.
(Bitbake rev: c46492f5599da8af16af05ecc2d7aa7a8660416b)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/layerdetails.js')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/layerdetails.js | 10 |
1 files changed, 2 insertions, 8 deletions
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) { | |||
309 | var entryElement = mParent.find("input"); | 309 | var entryElement = mParent.find("input"); |
310 | if (entryElement.length == 0) | 310 | if (entryElement.length == 0) |
311 | entryElement = mParent.find("textarea"); | 311 | entryElement = mParent.find("textarea"); |
312 | if (entryElement.length == 0) | ||
313 | entryElement = mParent.find("select"); | ||
314 | if (entryElement.length == 0) { | 312 | if (entryElement.length == 0) { |
315 | console.warn("Could not find element to get data from for this change"); | 313 | console.warn("Could not find element to get data from for this change"); |
316 | return; | 314 | return; |
@@ -331,12 +329,8 @@ function layerDetailsPageInit (ctx) { | |||
331 | /* success layer property changed */ | 329 | /* success layer property changed */ |
332 | var inputArea = mParent.parents("dd"); | 330 | var inputArea = mParent.parents("dd"); |
333 | var text; | 331 | var text; |
334 | /* We don't actually want the value from the select option we want | 332 | |
335 | * the text that represents the value to display | 333 | text = entryElement.val(); |
336 | */ | ||
337 | text = entryElement.children("option:selected").text(); | ||
338 | if (!text) | ||
339 | text = entryElement.val(); | ||
340 | 334 | ||
341 | /* Hide the "Not set" text if it's visible */ | 335 | /* Hide the "Not set" text if it's visible */ |
342 | inputArea.find(".muted").hide(); | 336 | inputArea.find(".muted").hide(); |