]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 6 Mar 2020 09:53:42 +0000 (09:53 +0000)
commit2cc6c709c1d106800cee6bfe257a88a741d3f319
treed9e18cfce441bc36549f8436b938ba6904de81f8
parent0fcbec7507a4117a7389d8bcebffed57db3a477c
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>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc