From 27735ed40deaf438e622acee0d41147bdbe2d5e1 Mon Sep 17 00:00:00 2001 From: Owen Leonard 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 Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- 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 %]
- +
-- 2.39.5