Needs review
Project:
Views Live Filters
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2010 at 22:28 UTC
Updated:
22 Dec 2010 at 18:50 UTC
Jump to comment: Most recent file
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() {