[Bug 26695] New: Set focus for cursor to login box on the login popup modal
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26695 Bug ID: 26695 Summary: Set focus for cursor to login box on the login popup modal Change sponsored?: --- Product: Koha Version: 19.11 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: barbara.johnson@bedfordtx.gov QA Contact: testopia@bugs.koha-community.org When a patron logs in to the OPAC using the login popup modal they have to click in the login box so that they can enter their information. It would easier and quicker for patrons if the focus for the cursor would default to the login box so that they could just begin typing and eliminate the extra click. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26695 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|19.11 |master Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26695 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26695 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 112001 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=112001&action=edit Bug 26695: Add modal "shown" event to set cursor focus This patch attaches a focus() call to the login modal's "shown.bs.modal" event so that the cursor focus is set to the username field when the login modal is displayed. To test, apply the patch and confirm that your OPAC uses the regular login process--not casAuthentication or GoogleOpenIDConnect. Click the "Log in to your account" link in the header. A the login form should appear in a modal dialog, and the focus should be on the username field. The same should be true if you trigger the modal from other locations, for instance: "Log in to add tags" on the bibliographic detail page or the tag cloud page. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26695 ByWater Sandboxes <bws.sandboxes@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #112001|0 |1 is obsolete| | --- Comment #2 from ByWater Sandboxes <bws.sandboxes@gmail.com> --- Created attachment 112008 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=112008&action=edit Bug 26695: Add modal "shown" event to set cursor focus This patch attaches a focus() call to the login modal's "shown.bs.modal" event so that the cursor focus is set to the username field when the login modal is displayed. To test, apply the patch and confirm that your OPAC uses the regular login process--not casAuthentication or GoogleOpenIDConnect. Click the "Log in to your account" link in the header. A the login form should appear in a modal dialog, and the focus should be on the username field. The same should be true if you trigger the modal from other locations, for instance: "Log in to add tags" on the bibliographic detail page or the tag cloud page. Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26695 Barbara Johnson <barbara.johnson@bedfordtx.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26695 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |katrin.fischer@bsz-bw.de |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26695 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26695 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #112008|0 |1 is obsolete| | --- Comment #3 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 112035 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=112035&action=edit Bug 26695: Add modal "shown" event to set cursor focus This patch attaches a focus() call to the login modal's "shown.bs.modal" event so that the cursor focus is set to the username field when the login modal is displayed. To test, apply the patch and confirm that your OPAC uses the regular login process--not casAuthentication or GoogleOpenIDConnect. Click the "Log in to your account" link in the header. A the login form should appear in a modal dialog, and the focus should be on the username field. The same should be true if you trigger the modal from other locations, for instance: "Log in to add tags" on the bibliographic detail page or the tag cloud page. Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26695 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to master Version(s)| |20.11.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26695 --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Pushed to master for 20.11, thanks to everybody involved! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26695 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com --- Comment #5 from Lucas Gass <lucas@bywatersolutions.com> --- enhancement will not be backported to 20.05.x -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org