]> git.koha-community.org Git - koha.git/commit
Bug 24803: Remove JS error when clicking "Log in to your account"
authorOwen Leonard <oleonard@myacpl.org>
Wed, 4 Mar 2020 19:47:26 +0000 (19:47 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Wed, 1 Apr 2020 22:21:10 +0000 (22:21 +0000)
commitd09da7444c90ec4d80757a7d2c72be643d1a9f70
tree9db3bdc2071d51c01f5176ceccf3fe55cb5dc97e
parent74e3ef126c5992ac049a35c75a7d3879669d7a49
Bug 24803: Remove JS error when clicking "Log in to your account"

This patch removes the "data-toggle" attribute from the login link in
order to avoid a JavaScript error. Since we have a custom click handler
to trigger the modal we don't need Bootstrap's "automatic" modal
handling.

Test plan:
1. Apply patch
2. Open F12 dev tools
3. Click "Log in to your account" on OPAC
4. Observe no Javascript errors in console

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc