Fix the double click on the ITransact submit button. Fixes bug #11362.
This commit is contained in:
parent
b9766970cc
commit
b86be55ba2
2 changed files with 2 additions and 1 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue