<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1701203716;
        mso-list-type:hybrid;
        mso-list-template-ids:1472498052 201916431 201916441 201916443 201916431 201916441 201916443 201916431 201916441 201916443;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi all (and especially Owen),<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m noticing some odd Javascript errors in the OPAC in 19.11 and master. <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Steps to reproduce:<o:p></o:p></p><ol style='margin-top:0cm' start=1 type=1><li class=MsoListParagraph style='margin-left:0cm;mso-list:l0 level1 lfo1'>Go to the OPAC and open the F12 dev tools. <o:p></o:p></li><li class=MsoListParagraph style='margin-left:0cm;mso-list:l0 level1 lfo1'>Click on “Log in to your account”<o:p></o:p></li><li class=MsoListParagraph style='margin-left:0cm;mso-list:l0 level1 lfo1'>Note the following in your console logs<o:p></o:p></li></ol><p class=MsoNormal>jquery-3.4.1.min_19.1200030.js:2 Uncaught Error: Syntax error, unrecognized expression: /cgi-bin/koha/opac-user.pl<o:p></o:p></p><p class=MsoNormal>    at Function.se.error (jquery-3.4.1.min_19.1200030.js:2)<o:p></o:p></p><p class=MsoNormal>    at se.tokenize (jquery-3.4.1.min_19.1200030.js:2)<o:p></o:p></p><p class=MsoNormal>    at se.select (jquery-3.4.1.min_19.1200030.js:2)<o:p></o:p></p><p class=MsoNormal>    at Function.se (jquery-3.4.1.min_19.1200030.js:2)<o:p></o:p></p><p class=MsoNormal>    at Function.s.find (jquery-migrate-3.1.0.min_19.1200030.js:2)<o:p></o:p></p><p class=MsoNormal>    at k.fn.init.find (jquery-3.4.1.min_19.1200030.js:2)<o:p></o:p></p><p class=MsoNormal>    at s.fn.init.k.fn.init (jquery-3.4.1.min_19.1200030.js:2)<o:p></o:p></p><p class=MsoNormal>    at new s.fn.init (jquery-migrate-3.1.0.min_19.1200030.js:2)<o:p></o:p></p><p class=MsoNormal>    at k (jquery-3.4.1.min_19.1200030.js:2)<o:p></o:p></p><p class=MsoNormal style='text-indent:9.75pt'>at HTMLAnchorElement.<anonymous> (bootstrap.min_19.1200030.js:6)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Using the Chrome tools, I was able to pretty print the Javascript, so now I see the following:<o:p></o:p></p><p class=MsoNormal>Uncaught Error: Syntax error, unrecognized expression: /cgi-bin/koha/opac-user.pl<o:p></o:p></p><p class=MsoNormal>    at Function.se.error (jquery-3.4.1.min_19.1200030.js:formatted:546)<o:p></o:p></p><p class=MsoNormal>    at se.tokenize (jquery-3.4.1.min_19.1200030.js:formatted:969)<o:p></o:p></p><p class=MsoNormal>    at se.select (jquery-3.4.1.min_19.1200030.js:formatted:1024)<o:p></o:p></p><p class=MsoNormal>    at Function.se (jquery-3.4.1.min_19.1200030.js:formatted:289)<o:p></o:p></p><p class=MsoNormal>    at Function.s.find (jquery-migrate-3.1.0.min_19.1200030.js:2)<o:p></o:p></p><p class=MsoNormal>    at k.fn.init.find (jquery-3.4.1.min_19.1200030.js:formatted:1138)<o:p></o:p></p><p class=MsoNormal>    at s.fn.init.k.fn.init (jquery-3.4.1.min_19.1200030.js:formatted:1159)<o:p></o:p></p><p class=MsoNormal>    at new s.fn.init (jquery-migrate-3.1.0.min_19.1200030.js:2)<o:p></o:p></p><p class=MsoNormal>    at k (jquery-3.4.1.min_19.1200030.js:formatted:50)<o:p></o:p></p><p class=MsoNormal style='text-indent:9.75pt'>at HTMLAnchorElement.<anonymous> (bootstrap.min_19.1200030.js:formatted:535)<o:p></o:p></p><p class=MsoNormal style='text-indent:9.75pt'><o:p> </o:p></p><p class=MsoNormal>It kind of looks to me like some sort of incompatibility between Bootstrap 2.3.1 and Jquery 3.4.1?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve put breakpoints up and down this code but it’s not jumping out at me exactly what’s happening except that maybe it’s trying to use the href attribute as a selector and it’s not working… but why it would even try in the first place confuses me. It looks like a Bootstrap-level thing, which is why I’m thinking maybe older versions of Jquery worked a bit differently? <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Anyway I’ve already stayed way too late at work today. Maybe someone smarter than me can figure this one out.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>David Cook<o:p></o:p></p><p class=MsoNormal>Systems Librarian<o:p></o:p></p><p class=MsoNormal>Prosentient Systems<o:p></o:p></p><p class=MsoNormal>72/330 Wattle St<o:p></o:p></p><p class=MsoNormal>Ultimo, NSW 2007<o:p></o:p></p><p class=MsoNormal>Australia<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Office: 02 9212 0899<o:p></o:p></p><p class=MsoNormal>Direct: 02 8005 0595<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>