[Koha-bugs] [Bug 24803] New: Clicking "Log in to your account" throws fatal Javascript error
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 5 00:29:48 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24803
Bug ID: 24803
Summary: Clicking "Log in to your account" throws fatal
Javascript error
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: blocker
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: dcook at prosentient.com.au
QA Contact: testopia at bugs.koha-community.org
Clicking "Log in to your account" throws a fatal Javascript error, because the
link has a href of "/cgi-bin/koha/opac-user.pl" and Bootstrap passes the href
to Jquery as if it were a CSS ID selector.
In the past, Jquery didn't throw a fatal error for this mistake, so it was
fine. But now Jquery appears to be stricter with the upgrade to 3.4.1.
This error causes Javascript to fail and could lead to unexpected behaviour.
(I have an idea for a patch that I'll be trying out very soon.)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list