Bugzilla – Attachment 112590 Details for
Bug 26826
Set focus for cursor to name input box when creating a new list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26826: Set focus for cursor to name input box when creating a new list
Bug-26826-Set-focus-for-cursor-to-name-input-box-w.patch (text/plain), 1.66 KB, created by
ByWater Sandboxes
on 2020-10-27 19:01:20 UTC
(
hide
)
Description:
Bug 26826: Set focus for cursor to name input box when creating a new list
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2020-10-27 19:01:20 UTC
Size:
1.66 KB
patch
obsolete
>From acbcf57d4cf736c67ab95d63079b891519e8d19c Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 26 Oct 2020 20:59:52 +0000 >Subject: [PATCH] Bug 26826: Set focus for cursor to name input box when > creating a new list > >This patch adds the "focus" class to the list name input field so that >it automatically has focus when the page loads. > >To test, apply the patch and open the lists page in the staff client. > >- Click "New list." >- When the list creation page loads the "Name" field should have focus. > >Signed-off-by: B Johnson <barbara.johnson@bedfordtx.gov> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >index 7eac1076d3..3087fcfd4f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >@@ -271,7 +271,7 @@ > <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber | html %]" /> > <ol> > <li> >- <label for="shelfname" class="required">Name: </label><input type="text" id="shelfname" name="shelfname" size="25" value="[% shelf.shelfname | html %]" required="required" class="required" /> >+ <label for="shelfname" class="required">Name: </label><input type="text" id="shelfname" name="shelfname" size="25" value="[% shelf.shelfname | html %]" required="required" class="focus required" /> > <span class="required">Required</span> > </li> > <li> >-- >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 26826
:
112549
|
112590
|
112783