diff --git a/misc/ajax.js b/misc/ajax.js index 088d46df7232fc644f71a7ad2e1d5976158f8a34..96be838b55e8a52c5762d6617341466275c57d57 100644 --- a/misc/ajax.js +++ b/misc/ajax.js @@ -247,7 +247,15 @@ Drupal.ajax.prototype.eventResponse = function (element, event) { alert("An error occurred while attempting to process " + ajax.options.url + ": " + e.message); } - return false; + // For radio/checkbox, allow the default event. On IE, this means letting + // it actually check the box. + if (typeof element.type != 'undefined' && (element.type == 'checkbox' || element.type == 'radio')) { + return true; + } + else { + return false; + } + }; /**