Bugzilla – Attachment 112593 Details for
Bug 26830
Set focus for cursor to name input box when creating a new list in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26830: Set focus for cursor to name input box when creating a new list in the OPAC
Bug-26830-Set-focus-for-cursor-to-name-input-box-w.patch (text/plain), 1.74 KB, created by
ByWater Sandboxes
on 2020-10-27 19:35:48 UTC
(
hide
)
Description:
Bug 26830: Set focus for cursor to name input box when creating a new list in the OPAC
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2020-10-27 19:35:48 UTC
Size:
1.74 KB
patch
obsolete
>From f60c4f10841eee0b9479529dffefc9db62f63b7f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 26 Oct 2020 19:46:30 +0000 >Subject: [PATCH] Bug 26830: Set focus for cursor to name input box when > creating a new list in the OPAC > >This patch adds the "focus" class to the list name input box in order to >automatically set focus on the field. > >To test, apply the patch and log in to the OPAC. > >- Go to Lists -> New list. >- The cursor focus should automatically be on the "list name" field. > >Signed-off-by: B Johnson <barbara.johnson@bedfordtx.gov> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >index b819c1007b..aa108764ad 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt >@@ -616,7 +616,7 @@ > <ol> > <li> > <label class="required" for="shelfname">List name: </label> >- <input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelf.shelfname | html %]" required="required" class="required"/> >+ <input type="text" id="shelfname" name="shelfname" maxlength="255" value="[% shelf.shelfname | html %]" required="required" class="focus required"/> > <span class="required">Required</span></li> > <li> > <label for="sortfield" >Sort this list by: </label> >-- >2.11.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 26830
:
112548
|
112593
|
112791