The default tpl_check_confirmation_default.php, jscript_main.php for it seems confused to me.
If you look at the resulting <form> code, you'll see there is no input type="submit" on the form. Instead, there's one non-hidden input of type="image". That kind of input has an event "onclick", not "onsubmit". The form would have an onsubmit event, and that's how the jscript was tied in - except that there's only a default implied submit.
Perhaps not all browsers behaved the same and that's why the jscript had the submit inside it?
Code:
<form name="checkout_confirmation" action="https://www.myshop.com/shop/index.ph...eckout_process" method="post" id="checkout_confirmation" onsubmit="submitonce();"><input type="hidden" name="SecurePayCOM_cc_owner" value="Daniel Cernese" /><input type="hidden" name="SecurePayCOM_cc_expires" value="1008" /><input type="hidden" name="SecurePayCOM_cc_type" value="Visa" /><input type="hidden" name="SecurePayCOM_cc_number" value="XXXXXXXXXXXXXXXX" /><input type="hidden" name="SecurePayCOM_cc_cvv" value="426" /><input type="hidden" name="zenid" value="879e38df3c25fd87d7f6325cd738407f" /><div class="buttonRow forward"><input type="image" src="includes/templates/template_default/buttons/english/button_confirm_order.gif" alt="Confirm Order" title=" Confirm Order " name="btn_submit" id="btn_submit" /></div>
</form>
Perhaps IE7 (and others) now don't kick off the onsubmit if the the event is really onclick? I'm not getting any multiple-click prevention, I haven't tweaked this except to remove the document .submit inside the javascript as suggested.. ..and the form still gets submitted (some how).
I'm still investigating. I need to read up a little more on forms, submit, and input types to understand why this is not working.
Bookmarks