Repeat ampli's fix (described below) for other occurances on the site.
``The Save buttons in the two first steps didn't work in Chrome.
According to a hint in the YUI Button documentation about a problem in using
"submit" as a value of the name attribute, I changed submit button name
in the two first steps from "submit" to "send". This solved the problem.''
This commit is contained in:
parent
ebbbeb6609
commit
54ae754ebe
27 changed files with 44 additions and 44 deletions
|
|
@ -371,7 +371,7 @@ sub getEditForm {
|
|||
my $self = shift;
|
||||
|
||||
my $form = WebGUI::FormBuilder->new($self->session);
|
||||
$form->addField( "submit", name => "submit" );
|
||||
$form->addField( "submit", name => "send" );
|
||||
|
||||
$self->getDoFormTags('editSave', $form);
|
||||
$form->addField( "hidden",
|
||||
|
|
@ -658,7 +658,7 @@ sub www_edit {
|
|||
|
||||
my $form = $self->getEditForm;
|
||||
$form->addField( 'csrfToken', name => 'csrfToken' );
|
||||
$form->addField( "submit", name => "submit" );
|
||||
$form->addField( "submit", name => "send" );
|
||||
|
||||
return '<h1>' . $i18n->get('payment methods') . '</h1>' . $form->toHtml;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue