Bug 21542: Use modal and password field for overdrive password
authorNick Clemens <nick@bywatersolutions.com>
Wed, 10 Oct 2018 15:53:13 +0000 (15:53 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 26 Oct 2018 11:23:49 +0000 (12:23 +0100)
commit220fcd92adcc08c86caeb221cca7e4a25992324c
treeebf413ab6431ddc273eaa8d79527ec5ec1c25218
parent860e4bb8f3699c44015c1180929b9f5a84fdaba3
Bug 21542: Use modal and password field for overdrive password

To test:
 1 - Enabled Overdrive and fill all preferences
 2 - Make sure OverDrivePasswordRequired is true
 3 - Go to opac account
 4 - Log in to overdrive
 5 - Note the input is shown
 6 - Apply patch
 7 - Repeat
 8 - Note popup is now a modal
 9 - Note password is now hidden
10 - Confirm overdrive integration works as before

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 32dc4a7bfaeebcff2be739fdf5f15e0f8bad4faa)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/overdrive-login.inc [new file with mode: 0644]
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt
koha-tmpl/opac-tmpl/bootstrap/js/overdrive.js