Bugzilla – Attachment 112787 Details for
Bug 26828
Set focus for cursor to current password field when updating in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26828: Set focus for cursor to current password field when updating in the OPAC
Bug-26828-Set-focus-for-cursor-to-current-password.patch (text/plain), 1.79 KB, created by
Katrin Fischer
on 2020-10-31 23:51:35 UTC
(
hide
)
Description:
Bug 26828: Set focus for cursor to current password field when updating in the OPAC
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-10-31 23:51:35 UTC
Size:
1.79 KB
patch
obsolete
>From e0469aa3d129eaeed36cfe854d4946404b2b8fd8 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 27 Oct 2020 10:45:18 +0000 >Subject: [PATCH] Bug 26828: Set focus for cursor to current password field > when updating in the OPAC > >This patch adds the "focus" class to the first field in the >OPAC's password update form so that the field automatically receives >focus upon page load. > >To test, apply the patch and make sure the OpacPasswordChange system >preference is enabled. > >- Log in to the OPAC >- Open the "Change your password" page >- The cursor should automatically be in the "Current password" field > when the page loads. > >Signed-off-by: B Johnson <barbara.johnson@bedfordtx.gov> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt >index 7bc9a59045..c66523ec1a 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-passwd.tt >@@ -70,7 +70,7 @@ > [% END %] > <div class="form-group"> > <label for="Oldkey">Current password:</label> >- <input class="form-control" type="password" id="Oldkey" size="25" name="Oldkey" /> >+ <input class="form-control focus" type="password" id="Oldkey" size="25" name="Oldkey" /> > </div> > <div class="form-group"> > <label for="Newkey">New password:</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 26828
:
112566
|
112591
| 112787