Bugzilla – Attachment 111999 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.88 KB, created by
Séverine Queune
on 2020-10-19 15:25:31 UTC
(
hide
)
Description:
Bug 26729: Add focus class to vendor name field in vendor add form
Filename:
MIME Type:
Creator:
Séverine Queune
Created:
2020-10-19 15:25:31 UTC
Size:
1.88 KB
patch
obsolete
>From fbfa816df843ee47ef99d527d9668692d8704805 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> >--- > 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 3cea6c7..b4aaa6d 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.1.4
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