Bug 29055: Focus on keyword field when subscription biblio search window opens
This patch adds the "autofocus" attribute to the keyword field in the popup window used to find a bibliographic record to use in a subscription. The same is also done for the vendor search popup. To test, apply the patch and go to Serials -> New subscription. - Click the "Search for vendor" link. When the "Serial subscription: search for vendor" window opens the cursor should automatically be in the vendor search field. - Click the "Search for record" link. When the "Catalog search" window opens the cursor focus should automatically be in the keyword field. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
347d9d7339
commit
712ced4612
|
|
@ -10,7 +10,7 @@
|
|||
<h1>Serial subscription: search for vendor </h1>
|
||||
<form action="/cgi-bin/koha/serials/acqui-search-result.pl" method="post">
|
||||
<label for="text">Vendor name: </label>
|
||||
<input id="text" type="text" size="25" name="supplier" />
|
||||
<input id="text" type="text" size="25" name="supplier" autofocus="autofocus" />
|
||||
<input type="submit" class="button" value="OK" />
|
||||
</form>
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<ol>
|
||||
<li>
|
||||
<label for="q">Keyword: </label>
|
||||
<input type="text" id="q" name="q" />
|
||||
<input type="text" id="q" name="q" autofocus="autofocus" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="itemtypelimit">Limit item type to: </label>
|
||||
|
|
|
|||
Loading…
Reference in New Issue