Index: ahah.js =================================================================== RCS file: /cvs/drupal/drupal/misc/ahah.js,v retrieving revision 1.7 diff -u -r1.7 ahah.js --- ahah.js 4 Jan 2008 11:53:21 -0000 1.7 +++ ahah.js 8 Feb 2008 12:16:42 -0000 @@ -24,7 +24,10 @@ 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'); } }