Modals

js error

5 months 2 weeks ago #83271

Christian Trojer's Avatar Christian Trojer

Hi Peter,

I have problems with the new modal version 11.0.0, see:
script.min.js:6 Uncaught TypeError: Cannot read property 'settings' of undefined
at Object.init (script.min.js:6)
at HTMLDocument.<anonymous> (script.min.js:35)
at c (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.F (jquery.min.js:2)

I do not know how to fix this problem. When I install the version 10.0.3 again it is working well again.
I installed also Joomla 3.9.

Thanks for helping me.
Christian

5 months 2 weeks ago #83274

Peter van Westen's Avatar Peter van Westen Admin

Do you have this online so I can take a look?

5 months 2 weeks ago #83278

Christian Trojer's Avatar Christian Trojer

Now I have it online, see an example:
www.gipfelkraxler.at/444-klettersteig-hindelanger

Thanks for help.

5 months 2 weeks ago #83282

Peter van Westen's Avatar Peter van Westen Admin

It looks like it is not loading the correct javascript files.
Did you hardcode the <script> tags in the template?

Make sure you clear all your caches.

5 months 2 weeks ago #83304

Christian Trojer's Avatar Christian Trojer

Hi Peter,

thanks a lot.
Sorry, it was my fault... I haven't remember and seen my hardcode for the <script> tag.