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:
Scott Walters 2011-06-29 19:13:18 -04:00
parent ebbbeb6609
commit 54ae754ebe
27 changed files with 44 additions and 44 deletions

View file

@ -201,7 +201,7 @@ sub getEditForm {
my $self = shift;
my $form = WebGUI::FormBuilder->new($self->session, action => $self->session->url->page );
$form->addField( "submit", name => "submit" );
$form->addField( "submit", name => "send" );
$form->addField( "hidden", name => 'shop', value => "ship");
$form->addField( "hidden", name => 'method', value => "do");
@ -328,7 +328,7 @@ sub www_edit {
my $admin = WebGUI::Shop::Admin->new($session);
my $i18n = WebGUI::International->new($session, "Shop");
my $form = $self->getEditForm;
$form->addField( "submit", name => "submit" );
$form->addField( "submit", name => "send" );
$form->addField( 'csrfToken', name => 'webguiCsrfToken' );
return '<h1>' . $i18n->get("shipping methods") . '</h1>' . $form->toHtml;
}