Merge pull request #3546 from tobiasd/20170624-search

autofocus for search input field
2022.09-rc
Michael Vogel 2017-06-24 22:46:39 +02:00 zatwierdzone przez GitHub
commit 771d122594
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1,7 +1,7 @@
<div id="{{$id}}" class="input-group"> <div id="{{$id}}" class="input-group">
<form action="{{$action_url}}" method="get" > <form action="{{$action_url}}" method="get" >
{{strip}} {{strip}}
<input type="text" name="search" id="search-text" placeholder="{{$search_label}}" value="{{$s}}" /> <input type="text" name="search" id="search-text" placeholder="{{$search_label}}" value="{{$s}}" autofocus />
{{if $searchoption}} {{if $searchoption}}
<select name="search-option" id="search-options"> <select name="search-option" id="search-options">
<option value="fulltext">{{$searchoption.0}}</option> <option value="fulltext">{{$searchoption.0}}</option>