Bugzilla – Attachment 118562 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) Switch form JavaScript to focus class
Bug-27455-follow-up-Switch-form-JavaScript-to-focu.patch (text/plain), 1.77 KB, created by
Katrin Fischer
on 2021-03-21 12:45:50 UTC
(
hide
)
Description:
Bug 27455: (follow-up) Switch form JavaScript to focus class
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-03-21 12:45:50 UTC
Size:
1.77 KB
patch
obsolete
>From fd3d85d060a1a7fd38bb2170a6676f9f30be744c Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Thu, 4 Mar 2021 09:35:37 +0000 >Subject: [PATCH] Bug 27455: (follow-up) Switch form JavaScript to focus class > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >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 a293beeaa8..a4d13e9015 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -100,7 +100,7 @@ > [% library.branchcode | html %] > [% ELSE %] > <label for="branchcode" class="required">Library code: </label> >- <input type="text" name="branchcode" id="branchcode" size="10" maxlength="10" value="[% library.branchcode | html %]" class="required" required="required" /> >+ <input type="text" name="branchcode" id="branchcode" size="10" maxlength="10" value="[% library.branchcode | html %]" class="required focus" required="required" /> > <span class="required">Required</span> > [% END %] > </li> >@@ -288,8 +288,6 @@ > var columns_settings = [% TablesSettings.GetColumns( 'admin', 'libraries', 'libraries', 'json' ) | $raw %]; > $(document).ready(function() { > >- $("#branchcode").focus(); >- > var libraries_url = '/api/v1/libraries'; > var libraries = $("#libraries").api({ > "ajax": { >-- >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