fix #1203. The fix of #1152 works for IE7 too.

This commit is contained in:
Reinier Balt 2012-01-04 16:05:11 +01:00
parent ff16cb3051
commit f7faef3c91

View file

@ -1318,7 +1318,7 @@ function enable_rich_interaction(){
$(document).ready(function() { $(document).ready(function() {
// fix for IE8. Without this checkboxes don't work AJAXy. See #1152 // fix for IE8. Without this checkboxes don't work AJAXy. See #1152
if($.browser.msie && ($.browser.version.substring(0, 2) == "8.")) { if($.browser.msie && ( ($.browser.version.substring(0, 2) == "8.") || ($.browser.version.substring(0, 2) == "7.") ) ) {
$('body').bind('change', function() { $('body').bind('change', function() {
return true; return true;
}); });