Download & Extend

The jQuery UI Accordion library is not loaded if the views "Exposed form style" is set to "Input required"

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

Status:active» needs review

Patch attached!

AttachmentSize
jquery-ui-accordion-library-not-loaded-1395554-1.patch 1.09 KB

#2

it seems this patch works for me

#3

Status:needs review» closed (fixed)

Thanks very much for the report & patch. Committed it with proper attribution:
http://drupalcode.org/project/views_accordion.git/commit/dc48d9c

nobody click here