The pager type "Simple counter" not working with views_slideshow_simple_pager submodule

Created on 15 October 2021, over 2 years ago
Updated 1 November 2023, 8 months ago

Problem/Motivation

The pager type "Simple counter" not working with views_slideshow_simple_pager submodule.
There are some Javascript errors:
- eID.lastIndex not is a function
- slider number not working on Drupal.viewsSlideshow.action

Steps to reproduce

1. Enable views_slideshow_simple_pager submodule.
2. Add a pager on views slideshow configuration.
3. Choose "Pager Type" as "Simple counter".
4. Save and test the slider.
5. The pager not working.

Proposed resolution

I created a patch to solve the problem. The patch:
1. replace lastIndex with lastIndexOf
2. parse a slider numner as a int

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇮🇹Italy marco.aresu Cagliari

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024