Posted by AntoineSolutions on January 5, 2012 at 9:06pm
3 followers
| Project: | Views Accordion |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Problem/Motivation
The Views Accordion module loads the jQuery UI Accordion library in the views plugin style's render function. This function is not run before a page is rendered for views that have the "Exposed form style" set to "Input required".
Proposed resolution
The views_plugin_style class has a pre_render function that is run regardless of the "Exposed form style".
Remaining tasks
Reviews needed.
Comments
#1
Patch attached!
#2
it seems this patch works for me
#3
Thanks very much for the report & patch. Committed it with proper attribution:
http://drupalcode.org/project/views_accordion.git/commit/dc48d9c