Closed (outdated)
Project:
Views Infinite Scroll
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2013 at 05:06 UTC
Updated:
27 Mar 2020 at 20:02 UTC
Jump to comment: Most recent
Comments
Comment #1
JohnnyW commentedJust change line 66 from > 1 to > 100 or whatever you have for that page... it will stop alerts on web browser.
Line 66 on file
sites/all/modules/views_infinite_scroll/js/views_infinite_scroll.js
I had 12 on one page, so this fixed it :D
Comment #2
2phaThe above is not a fix as their should not be multiple items in the settings array for the same scroller.
I get this problem with a view in a panel, but only if the panel is cached.
I only have 1 infinite scroller on the page, but looking at the
Drupal.settings.views_infinite_scrollarray, I see there are 2 array entries for the same scroller, just keying these array elements by their selector may fix this issue (though still wont allow for more than 1 scroller per page, which the module probably should). It also means the js will need to change as the setting object will no longer be an array, but an object.Comment #3
honza pobořil commented