Bugzilla – Attachment 112549 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.61 KB, created by
Owen Leonard
on 2020-10-27 10:34:32 UTC
(
hide
)
Description:
Bug 26826: Set focus for cursor to name input box when creating a new list
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-10-27 10:34:32 UTC
Size:
1.61 KB
patch
obsolete
>From f1b9a4e7e320261aa2ec503a7ab8d61b72a0a02e 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. >--- > 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