Bugzilla – Attachment 135010 Details for
Bug 29055
Focus on keyword field when subscription biblio search window opens
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29055: Focus on keyword field when subscription biblio search window opens
Bug-29055-Focus-on-keyword-field-when-subscription.patch (text/plain), 2.50 KB, created by
Victor Grousset/tuxayo
on 2022-05-15 22:49:10 UTC
(
hide
)
Description:
Bug 29055: Focus on keyword field when subscription biblio search window opens
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2022-05-15 22:49:10 UTC
Size:
2.50 KB
patch
obsolete
>From 994c0b5b1980602b34232fab2e1b04ef8a97d5ff Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 12 May 2022 15:14:32 +0000 >Subject: [PATCH] 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt | 2 +- > .../prog/en/modules/serials/subscription-bib-search.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt >index e3481620a5..48d601e9a9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/acqui-search.tt >@@ -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> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt >index 40f29226b6..0da440777d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-bib-search.tt >@@ -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> >-- >2.36.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29055
:
134929
|
134939
| 135010