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 | |
parent | 99f91e49ba49cb49c8cd78c664a0cfaac2c032a4 (diff) | |
download | 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')
-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 f0ef4d42ab..3c9256cbd0 100644 --- a/bitbake/lib/toaster/toastergui/templates/build.html +++ b/bitbake/lib/toaster/toastergui/templates/build.html | |||
@@ -71,7 +71,7 @@ | |||
71 | <form class="no-results input-append" id="searchform"> | 71 | <form class="no-results input-append" id="searchform"> |
72 | <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 %} | 72 | <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 %} |
73 | <button class="btn" type="submit" value="Search">Search</button> | 73 | <button class="btn" type="submit" value="Search">Search</button> |
74 | <button class="btn btn-link" onclick="javascript:reload_params({'search':'', 'filter':''})">Show all builds</button> | 74 | <button class="btn btn-link" onclick="javascript:$('#search').val('');searchform.submit()">Show all builds</button> |
75 | </form> | 75 | </form> |
76 | </div> | 76 | </div> |
77 | </div> | 77 | </div> |