diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2015-01-26 15:37:30 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-29 22:11:34 +0000 |
commit | d4b9b0f416a78478e732288b3832dbce2533da18 (patch) | |
tree | d6539dc4c4e647442aa1c9e65f8725b6b4cbb229 /bitbake/lib/toaster/toastergui/static/js/layerdetails.js | |
parent | c748c7e68ac5089ce52f85ce49b1c2e180bc103a (diff) | |
download | poky-d4b9b0f416a78478e732288b3832dbce2533da18.tar.gz |
bitbake: toastergui: add 'show all' link to no results page
When you search for targets or machines in the layer details
page and your search returns no results, you should
see a 'show all' link that you can click to clear the
search and display all table entries.
[YOCTO #7218]
(Bitbake rev: 70486fc36c5b6bd6b7b8e846e23ad4062d583877)
Signed-off-by: Belen Barros Pena <belen.barros.pena@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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js index 2addecd357..2793225d0c 100644 --- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js +++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js | |||
@@ -381,12 +381,12 @@ function layerDetailsPageInit (ctx) { | |||
381 | }); | 381 | }); |
382 | 382 | ||
383 | /* Clear the current search selection and reload the results */ | 383 | /* Clear the current search selection and reload the results */ |
384 | $("#target-search-clear").click(function(){ | 384 | $(".target-search-clear").click(function(){ |
385 | $("#target-search").val(""); | 385 | $("#target-search").val(""); |
386 | $(this).parents("form").submit(); | 386 | $(this).parents("form").submit(); |
387 | }); | 387 | }); |
388 | 388 | ||
389 | $("#machine-search-clear").click(function(){ | 389 | $(".machine-search-clear").click(function(){ |
390 | $("#machine-search").val(""); | 390 | $("#machine-search").val(""); |
391 | $(this).parents("form").submit(); | 391 | $(this).parents("form").submit(); |
392 | }); | 392 | }); |