Fix the double click on the ITransact submit button. Fixes bug #11362.

This commit is contained in:
Colin Kuskie 2010-01-20 15:32:10 -08:00
parent b9766970cc
commit b86be55ba2
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
7.8.11
- fixed #11362: Unable to checkout with ITransact plugin
7.8.10
- fixed #11332: Pagination in webgui.org forum urls

View file

@ -809,7 +809,7 @@ sub www_getCredentials {
$var->{checkoutButton} = WebGUI::Form::submit($session, {
value => $i18n->get('checkout button', 'Shop'),
extras => 'onclick="this.disabled=true;"',
extras => 'onclick="this.disabled=true;this.form.submit(); return false;"',
});
my $template = WebGUI::Asset::Template->new($session, $self->get("credentialsTemplateId"));