The current class selectors are not specific enough to work with views that display another version of the same view.
As an example I have a 2 views that uses views accordion as the style plugin and the view field view to display the views in a recursive fashion to get to the bottom of a relationship that can have an infinite amount of nesting. The view layout looks something like this
View #1
-View #2
--View #1
---View #2
.
.
.
.
Or a more visual example
With the way the current class selectors work, the javascript picks out the view name and the view display which means that clicking on a nested accordion triggers all of the views that share the same name/display.
The attached patch changes the class selector to use the views dom id instead of using the view name/display. I'm not sure if that is the right approach to take but it has allowed me to get the my views to work as needed.
Comment | File | Size | Author |
---|---|---|---|
change_class_selector_to_domid.patch | 2.44 KB | ctrlADel | |
v_accord_example.png | 139.32 KB | ctrlADel |