Because this bug report supports {SLIDER}
, below is a demo that demonstrates the error. See the JS error this bug report page generates in developer console.
{SLIDER( width="80%" theme="mini-light" expand="n" resizecontents="n" buildarrows="y" buildnavigation="y" buildstartstop="n" togglearrows="y" togglecontrols="y" enablearrows="y" enablenavigation="y" enablekeyboard="y" autoplay="y" autoplaylocked="n" autoplaydelayed="y" pauseonhover="y" stopatend="n" delay="4000" animationtime="1000" hashtags="n")}{img fileId=1522} {SLIDER}
START OF DEMO
{SLIDER( width="80%" theme="mini-light" expand="n" resizecontents="y" buildarrows="y" buildnavigation="y" buildstartstop="n" togglearrows="y" togglecontrols="y" enablearrows="y" enablenavigation="y" enablekeyboard="y" autoplay="y" autoplaylocked="n" autoplaydelayed="y" pauseonhover="y" stopatend="n" delay="4000" animationtime="1000" hashtags="n")}
{SLIDER}
END OF DEMO
This resulted in a working slider in 21. After upgrade I get the following JS error:
jquery.min.js:2 Uncaught TypeError: b.replace is not a function at Function.ga.matchesSelector (jquery.min.js:2) at Object.add (jquery.min.js:3) at jquery.min.js:3 at Function.each (jquery.min.js:2) at a.fn.init.each (jquery.min.js:2) at ya (jquery.min.js:3) at a.fn.init.on (jquery.min.js:3) at a.fn.init.a.fn.<computed> (min_main_124e21a7d76a2835b01c446b47408413.js:formatted:194) at a.fn.init.jQuery.fn.load (min_main_124e21a7d76a2835b01c446b47408413.js:formatted:63128) at $.anythingSlider.base.updateSlider (min_main_bb326a0cdb1e9f74c977e7507c0fafb4.js:formatted:226)
Web page where this happens: https://kipinapartio.fi/
70b0df71119d5592677ba37b1a801f5fb406bba6 which adds a new load jQuery method. This method calls element.tikiModal(tr('Loading...'));
Update:
Actually I (@luciash d' being 🧙) see this in Chrome console:
Uncaught TypeError: Cannot read property 'defaultView' of undefined at Ie (min_main_3da61fe09f318f29e486129fa2ff5e86.js:184) at Be (min_main_3da61fe09f318f29e486129fa2ff5e86.js:184) at Function.css (min_main_3da61fe09f318f29e486129fa2ff5e86.js:184) at min_main_3da61fe09f318f29e486129fa2ff5e86.js:184 at $ (min_main_3da61fe09f318f29e486129fa2ff5e86.js:184) at a.fn.init.css (min_main_3da61fe09f318f29e486129fa2ff5e86.js:184) at min_main_3da61fe09f318f29e486129fa2ff5e86.js:5502 at Function.each (min_main_3da61fe09f318f29e486129fa2ff5e86.js:184) at a.fn.init.each (min_main_3da61fe09f318f29e486129fa2ff5e86.js:184) at a.fn.init.$.fn.tikiModal (min_main_3da61fe09f318f29e486129fa2ff5e86.js:5502)
Weirdly demoing the SLIDER here prevents displaying of the comments below the tracker item? (not particularly weird, the comments are loaded by ajax so if the javascript in the page is broken it doesn't get to that call )
This slider plugin is based on anything slider which seems to have been abandoned and it uses a function that has now been removed from jQuery 3.x - i guess we should delete the wiki plugin?
You can work round this by using resizecontents="y"
in the plugin, or, i would recommend, move to using the bootstrap carousel in plugin list, or use a more modern slider plugin like PluginSwiper (as seen on Slider Comparison )
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |