diff options
Diffstat (limited to 'bitbake/lib/toaster')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/layerdetails.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js index 22c40d9..5b77877 100644 --- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js +++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js @@ -382,6 +382,11 @@ function layerDetailsPageInit (ctx) { } }); + /* Hide the right column if it contains no information */ + if ($("dl.item-info").children(':visible').length == 0) { + $("dl.item-info").parent().hide(); + } + /* Clear the current search selection and reload the results */ $(".target-search-clear").click(function(){ $("#target-search").val(""); |