Bugzilla – Attachment 112009 Details for
Bug 26729
When adding a new vendor set focus for cursor to name input box
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26729: Add focus class to vendor name field in vendor add form
Bug-26729-Add-focus-class-to-vendor-name-field-in-.patch (text/plain), 1.95 KB, created by
ByWater Sandboxes
on 2020-10-19 18:46:53 UTC
(
hide
)
Description:
Bug 26729: Add focus class to vendor name field in vendor add form
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2020-10-19 18:46:53 UTC
Size:
1.95 KB
patch
obsolete
>From b205f23b64c086923e8c223d9c4ad41b71ef8bdd Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 19 Oct 2020 14:36:34 +0000 >Subject: [PATCH] Bug 26729: Add focus class to vendor name field in vendor add > form >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch adds the "focus" class to the vendor name field in the form >for adding or editing a vendor in acquisitions. > >To test, apply the patch and go to Acquisitions -> New vendor. > >On page load the cursor focus should automatically be on the vendor name >field. The same should true when editing an existing vendor. > >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> > >Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >index 3cea6c7a10..b4aaa6d70b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >@@ -127,7 +127,7 @@ > <fieldset class="rows"> > <legend>Company details</legend> > <ol><li><label for="company" class="required">Name:</label> >- <input type="text" size="40" id="company" name="company" value="[% name | html %]" required="required" class="required" /><span class="required">Required</span></li> >+ <input type="text" size="40" id="company" name="company" value="[% name | html %]" required="required" class="required focus" /><span class="required">Required</span></li> > <li><label for="company_postal">Postal address: </label> > <textarea id="company_postal" name="company_postal" cols="40" rows="3">[% postal | html %]</textarea></li> > <li><label for="physical">Physical address: </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 26729
:
111997
|
111999
|
112009
|
112036