Bugzilla – Attachment 150397 Details for
Bug 31405
Set focus for cursor to setSpec input when adding a new OAI set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31405: Set focus for cursor to setSpec input when adding a new OAI set
Bug-31405-Set-focus-for-cursor-to-setSpec-input-wh.patch (text/plain), 1.98 KB, created by
Nick Clemens (kidclamp)
on 2023-04-28 16:23:28 UTC
(
hide
)
Description:
Bug 31405: Set focus for cursor to setSpec input when adding a new OAI set
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-04-28 16:23:28 UTC
Size:
1.98 KB
patch
obsolete
>From 8dd6265eb74593a7c84929a5b4def401e18a25ea Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sat, 4 Feb 2023 23:54:22 +0000 >Subject: [PATCH] Bug 31405: Set focus for cursor to setSpec input when adding > a new OAI set > >Makes sure the focus is in the first form field when adding >a new OAI set: setSpec > >To test: >* Go to administration > OAI sets >* Add a new set, verify the focus is still in the search bar on top >* Apply patch >* Repeat and verify the focus is now in the first form field >* Save set >* Edit set and verify the focus is in the search field at the top > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt >index a2dbfbc4bc..2d3a7e1a29 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt >@@ -64,7 +64,11 @@ > <ol> > <li> > <label for="spec" class="required">setSpec: </label> >- <input type="text" id="spec" name="spec" value="[% spec | html %]" required="required" class="required" /> >+ [% IF ( spec == "" ) %] >+ <input type="text" id="spec" class="focus" name="spec" value="[% spec | html %]" required="required" class="required" /> >+ [% ELSE %] >+ <input type="text" id="spec" name="spec" value="[% spec | html %]" required="required" class="required" /> >+ [% END %] > <span class="required">Required</span> > </li> > <li> >-- >2.30.2
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 31405
:
146177
|
146267
|
150133
|
150134
| 150397