I used this module combined with the Better Exposed Filters module to turn multiple selects into checkboxes.
When I tested in IE it wasn't working. I had a look at the JS file at views_hacks/views_filters_autosubmit/views_filters_autosubmit.js and found that the form was submitting on the change() event for the form elements.
change() does not work on checkboxes - http://api.jquery.com/change/
The change event is sent to an element when its value changes. This event is limited to elements, boxes and
elements.
So I had to modify this file and use bind('click change') to cover both scenarios.
Attached is a patch
Comment | File | Size | Author |
---|---|---|---|
views_hacks-views_filters_autosubmit.patch | 943 bytes | colincalnan |
Comments
Comment #1
infojunkieYour patch causes select filters to auto-submit when they are clicked, which is not desired. Furthermore, the documentation that you point to explicitly mentions checkboxes as being supported:
So what's needed is a patch for IE specifically, if any.
Comment #2
AdrianB CreditAttribution: AdrianB commentedSubscribing.
Comment #3
jdanthinne CreditAttribution: jdanthinne commentedHad the same problem with radio buttons in IE.
Just added
And it's working fine now.
Comment #4
MXTI'm using Better Exposed Filters too and I have the same issue in IE.
A short solution is to fireing CLICK event instead of CHANGE only in input (NOT SELECT!!!) elements.
In your views_filters_autosubmit.js (6.x-1.0-beta1) simply change this code:
With this:
Comment #5
MXTComment #6
infojunkieI committed a fix in the latest release. Please test (12 hours from now for the dev release to refresh or by pulling from CVS DRUPAL-6--1 directly) and let me know!