Closed (won't fix)
Project:
Views (for Drupal 7)
Version:
6.x-2.12
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Aug 2010 at 19:11 UTC
Updated:
3 Oct 2012 at 22:07 UTC
Ajax pagination binding to the wrong view caused by two or more views on a page sharing the same 'dom-id-X' class.
In such case, additional classes (which are the same ones for backward compatibility) should be added to the selector for greater specificity:
else if ($(view).size() > 1) {
view += '.view-id-' + settings.view_name + '.view-display-id-' + settings.view_display_id;
}
Obviously, above will not work if the the two views sharing the same dom id that are of the same view and display.
Although a fall back solution, this doesn't solve the main issue: duplicate dom id. See issue: http://drupal.org/node/873944
| Comment | File | Size | Author |
|---|---|---|---|
| ajax_view.patch | 495 bytes | ronnbot |
Comments
Comment #1
dawehnerupdate status. The other issue is a duplicate of yet another issue :) So this issue might be fixed already?
Comment #2
merlinofchaos commentedI think this may actually still be a bit of a problem, but this is definitely not the right fix. We need to fix the dom IDs so they don't actually dup.
Comment #3
yuriy.babenko commentedStill a problem in 6.x-2.12.
Comment #4
couturier commentedThis issue is so old, and most people are working in D7 now, with a D8 release less than a year away, so I am closing.