This is a great little module. But like many great pieces of code it works greater in Firefox and Webkit browsers and Internet Explorer spoils the party. I'm using a page view (Views 2) and the multi-select boxes don't work properly with Internet Explorer. I'm using a filter with one vocabulary with three terms. In IE, I can select a checkbox and nothing happens. Or I will select or de-select a box and get the wrong response.
Works great in Chrome and Firefox.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | viewslivefilters_ie8.patch | 545 bytes | john.money |
| #5 | 888446-5-viewslivefilter.patch | 544 bytes | alberto56 |
Comments
Comment #1
mediamash commentedwhen clicking on the page after selecting it works
seems to be a bug
Comment #2
buntstich commented#subscribe
Dropdown menu works fine. For checkboxes you need a second click on page background.
Comment #3
bisscomm commentedJust solved the problem in very simple way.
Change the lines (in viewslivefilters.js):
// Submit form immediately when a form element's value changes.
$('.views-exposed-widget .form-item :input', form).bind('change', function() {
throb(this);
$(form).submit();
});
for
// Submit form immediately when a form element's value changes.
$('.views-exposed-widget .form-item :input', form).bind('click', function() {
throb(this);
$(form).submit();
});
Comment #4
john.money commented#3 fixes issue... patch needed, dev update even better.
Comment #5
alberto56 commentedI agree this is pretty critical because of the IE8 and IE7 market share. Here's a patch using bisscomm's work, above. Thanks.
This works in IE7, IE8, Chrome, Safari, FF.
Haven't had a chance to test this with Chrome, though...
Comment #6
john.money commentedNot so fast... #3 fixes IE issues with non-text elements, but also renders text field elements unusable on all browsers (submit on click).
Better selector is:
$('.views-exposed-widget .form-item :input:not(.form-text)', form).bind('click', function() {