Bugzilla – Attachment 118239 Details for
Bug 27455
Add focus to branch code when a new library is added
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27455: (follow-up) Add automatic focus to library name when editing
Bug-27455-follow-up-Add-automatic-focus-to-library.patch (text/plain), 1.49 KB, created by
Owen Leonard
on 2021-03-15 14:51:02 UTC
(
hide
)
Description:
Bug 27455: (follow-up) Add automatic focus to library name when editing
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-03-15 14:51:02 UTC
Size:
1.49 KB
patch
obsolete
>From cf89e0829e847bffcda11cb906ef3d7c3ec261ba Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 15 Mar 2021 14:49:09 +0000 >Subject: [PATCH] Bug 27455: (follow-up) Add automatic focus to library name > when editing > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >index a4d13e9015..ff22d958de 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -106,7 +106,11 @@ > </li> > <li> > <label for="branchname" class="required">Name: </label> >- <input type="text" name="branchname" id="branchname" size="80" value="[% library.branchname | html %]" class="required" required="required" /> >+ [% IF library %] >+ <input type="text" name="branchname" id="branchname" size="80" value="[% library.branchname | html %]" class="required focus" required="required" /> >+ [% ELSE %] >+ <input type="text" name="branchname" id="branchname" size="80" value="[% library.branchname | html %]" class="required" required="required" /> >+ [% END %] > <span class="required">Required</span> > </li> > </ol> >-- >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 27455
:
115278
|
115305
|
115571
|
118217
|
118218
|
118237
|
118238
|
118239
|
118561
|
118562
|
118563
|
120125
|
120126
|
120127