mirror of
https://git.yoctoproject.org/poky
synced 2026-04-08 08:02:23 +02:00
bitbake: toaster: Match search results form to no results form
In the search results form, add the btn class to the clear search button and set its tabindex to -1 so that you don't accidentally clear the search when you want to search again. (Bitbake rev: 1cd01dbf3cd59bac6b62fe91ba2bafa0c62fd7f1) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
694da9cd09
commit
3e1560919a
@@ -30,7 +30,7 @@
|
||||
<div class="navbar">
|
||||
<div class="navbar-inner">
|
||||
<form class="navbar-search input-append pull-left" id="searchform">
|
||||
<input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search {%if object_search_display %}{{object_search_display}}{%else%}{{objectname}}{%endif%}" value="{{request.GET.search}}"/>{% if request.GET.search %}<a href="javascript:$('#search').val('');searchform.submit()" class="add-on"><i class="icon-remove"></i></a>{%endif%}
|
||||
<input class="input-xxlarge" id="search" name="search" type="text" placeholder="Search {%if object_search_display %}{{object_search_display}}{%else%}{{objectname}}{%endif%}" 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%}
|
||||
<input type="hidden" name="orderby" value="{{request.GET.orderby}}">
|
||||
<input type="hidden" name="page" value="1">
|
||||
<button class="btn" type="submit" value="Search">Search</button>
|
||||
|
||||
Reference in New Issue
Block a user