Bugzilla – Attachment 100209 Details for
Bug 24803
Clicking "Log in to your account" throws fatal Javascript error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24803: [PASSED_QA] Clicking "Log in to your account" throws fatal Javascript error
Bug-24803-PASSEDQA-Clicking-Log-in-to-your-account.patch (text/plain), 2.20 KB, created by
Marcel de Rooy
on 2020-03-06 06:57:33 UTC
(
hide
)
Description:
Bug 24803: [PASSED_QA] Clicking "Log in to your account" throws fatal Javascript error
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2020-03-06 06:57:33 UTC
Size:
2.20 KB
patch
obsolete
>From ff77d13e984053ee1d0c39b91d322a9d4105ce11 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 4 Mar 2020 19:47:26 +0000 >Subject: [PATCH] Bug 24803: [PASSED_QA] Clicking "Log in to your account" > throws fatal Javascript error >Content-Type: text/plain; charset=utf-8 > >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> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index a27be4d487..6be6e8b8f1 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -102,7 +102,7 @@ > [% ELSIF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] > <a class="login-link" href="/cgi-bin/koha/svc/auth/googleopenidconnect" role="button" data-toggle="modal"><i class="fa fa-user fa-icon-white fa-fw"></i> <span class="userlabel">Log in to your account</span></a> > [% ELSE %] >- <a href="/cgi-bin/koha/opac-user.pl" class="login-link loginModal-trigger" role="button" data-toggle="modal"><i class="fa fa-user fa-icon-white fa-fw"></i> <span class="userlabel">Log in to your account</span></a> >+ <a href="/cgi-bin/koha/opac-user.pl" class="login-link loginModal-trigger"><i class="fa fa-user fa-icon-white fa-fw"></i> <span class="userlabel">Log in to your account</span></a> > [% END %] > [% END %] > [% END %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24803
:
100156
|
100157
|
100159
|
100160
|
100191
|
100208
|
100209
|
100217