diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2014-02-20 13:11:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-17 13:59:37 +0000 |
commit | 92c98c4af7d0b3901f2e0f43167477b8b97d6ebe (patch) | |
tree | 84f90f249c6ab5509f0ac1d3f425d31faad425d0 /bitbake/lib/toaster | |
parent | 99f91e49ba49cb49c8cd78c664a0cfaac2c032a4 (diff) | |
download | ast2050-yocto-poky-92c98c4af7d0b3901f2e0f43167477b8b97d6ebe.zip ast2050-yocto-poky-92c98c4af7d0b3901f2e0f43167477b8b97d6ebe.tar.gz |
bitbake: toaster: Fixing "Show all builds" link
Replacing the placeholder attribute with the value attribute
in the no search results page broke the "Show all builds" link.
This change applies the inline javacript used for the clear search
button for the "Show all builds" link, which fixes the problem.
(Bitbake rev: a58b88aebfde54ea97740f27335582fac195dfdc)
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')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/build.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/build.html b/bitbake/lib/toaster/toastergui/templates/build.html index f0ef4d4..3c9256c 100644 --- a/bitbake/lib/toaster/toastergui/templates/build.html +++ b/bitbake/lib/toaster/toastergui/templates/build.html @@ -71,7 +71,7 @@ <form class="no-results input-append" id="searchform"> <input id="search" name="search" class="input-xxlarge" type="text" value="{{request.GET.search}}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on btn" tabindex="-1"><i class="icon-remove"></i></a>{% endif %} <button class="btn" type="submit" value="Search">Search</button> - <button class="btn btn-link" onclick="javascript:reload_params({'search':'', 'filter':''})">Show all builds</button> + <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all builds</button> </form> </div> </div> |