Index: misc/ahah.js =================================================================== RCS file: /cvs/drupal/drupal/misc/ahah.js,v retrieving revision 1.7 diff -u -p -r1.7 ahah.js --- misc/ahah.js 4 Jan 2008 11:53:21 -0000 1.7 +++ misc/ahah.js 31 Jan 2008 21:22:48 -0000 @@ -24,6 +24,10 @@ Drupal.behaviors.ahah = function(context element_settings.element = this; var ahah = new Drupal.ahah(base, element_settings); }); + // Convert submit type to button to avoid default button bad behavior. + if (element_settings.element.type == 'submit') { + element_settings.element.type = 'button'; + } $('#'+ base).addClass('ahah-processed'); }