]> git.koha-community.org Git - koha.git/commit
Bug 26753: Set focus for cursor to password field on Overdrive login popup on OPAC
authorOwen Leonard <oleonard@myacpl.org>
Tue, 20 Oct 2020 15:38:21 +0000 (15:38 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 3 Nov 2020 09:57:35 +0000 (10:57 +0100)
commitb08444d31c663345d04011c061585c53d99076c5
tree31f06caadfd5eba972bed094c7d38030dfa4d7df
parent7815e37258498bf4034c738af17c64bf5941eff5
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>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/includes/overdrive-login.inc
koha-tmpl/opac-tmpl/bootstrap/js/overdrive.js