When a logged in user clicks on the 'Log in to your OverDrive account' link they get a popup to enter their password. Set the focus for the cursor to the password field since it's the only option and will save a click.
Created attachment 112051 [details] [review] Bug 26753: Set focus for cursor to password field on Overdrive login popup on OPAC This patch modifies the OverDrive login process so that clicking the "Log in to your OverDrive account" link automatically puts the focus on the password field when the modal displays. Unrelated change: A redundant "document.ready" function has been removed. To test you must have OverDrive credentials set in system preferences. - Log in to the OPAC. - On the "Your summary" page, open the "OverDrive account" tab. - Click the "Log in to your OverDrive account" link. - A modal dialog should appear, and the cursor focus should automatically be on the password field.
Created attachment 112489 [details] [review] Bug 26753: Set focus for cursor to password field on Overdrive login popup on OPAC This patch modifies the OverDrive login process so that clicking the "Log in to your OverDrive account" link automatically puts the focus on the password field when the modal displays. Unrelated change: A redundant "document.ready" function has been removed. To test you must have OverDrive credentials set in system preferences. - Log in to the OPAC. - On the "Your summary" page, open the "OverDrive account" tab. - Click the "Log in to your OverDrive account" link. - A modal dialog should appear, and the cursor focus should automatically be on the password field. Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Created attachment 112792 [details] [review] Bug 26753: Set focus for cursor to password field on Overdrive login popup on OPAC This patch modifies the OverDrive login process so that clicking the "Log in to your OverDrive account" link automatically puts the focus on the password field when the modal displays. Unrelated change: A redundant "document.ready" function has been removed. To test you must have OverDrive credentials set in system preferences. - Log in to the OPAC. - On the "Your summary" page, open the "OverDrive account" tab. - Click the "Log in to your OverDrive account" link. - A modal dialog should appear, and the cursor focus should automatically be on the password field. Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 20.11, thanks to everybody involved!
enhancement will not be backported to 20.05.x