Download & Extend

Checkbox not working on IE6 and IE7

Project:Views Live Filters
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active

Issue Summary

Hi,

I've noticed that autosubmit of checkbox doesn't work on IE6 and IE7
Any idea on how to fix this?

Thanks

Laurent

Comments

#1

So far, the same problem persist for IE8 as well. In my case, I've disabled this functionality for Internet Explorer, so it means form will not submit automatically, but at least it will work. I've made changes to viewslivefilters.js. Firstly I've put a comment on line 29. to get back submit button: // $(':submit, .submit-button', form).hide();

Note that button will always be shown, so you should hide it for other browsers. Than I've put some simple browser check:

var browser=navigator.appName;
if (browser!="Microsoft Internet Explorer") {    
      // code you want to disable for ie 
}

In my case it looks like this:

var browser=navigator.appName;
if (browser!="Microsoft Internet Explorer") {
    // original code:
    $('.views-exposed-widget .form-item :input', form).bind('change', function() {
      throb(this);      
      $(form).submit();   
    });
}

#2

Patch provided in #4 of this issue seems to work fine in IE http://drupal.org/node/749270

nobody click here