fix #1152 where in IE8 the checkboxes did not work

This commit is contained in:
Reinier Balt 2011-04-29 18:04:52 +02:00
parent 57ad48d7d7
commit 12c02b1a87

View file

@ -1208,6 +1208,15 @@ function enable_rich_interaction(){
}
$(document).ready(function() {
// fix for IE8. Without this checkboxes don't work AJAXy. See #1152
if($.browser.msie && ($.browser.version.substring(0, 2) == "8.")) {
alert("detected msie8");
$('body').bind('change', function() {
return true;
});
}
TracksPages.setup_nifty_corners();
TodoItemsContainer.setup_container_toggles();