diff options
| -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 22c40d971a..5b7787728d 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) { | |||
| 382 | } | 382 | } |
| 383 | }); | 383 | }); |
| 384 | 384 | ||
| 385 | /* Hide the right column if it contains no information */ | ||
| 386 | if ($("dl.item-info").children(':visible').length == 0) { | ||
| 387 | $("dl.item-info").parent().hide(); | ||
| 388 | } | ||
| 389 | |||
| 385 | /* Clear the current search selection and reload the results */ | 390 | /* Clear the current search selection and reload the results */ |
| 386 | $(".target-search-clear").click(function(){ | 391 | $(".target-search-clear").click(function(){ |
| 387 | $("#target-search").val(""); | 392 | $("#target-search").val(""); |
