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:
ampli 2011-06-28 03:34:24 +03:00
parent f797429b5f
commit ebbbeb6609
2 changed files with 3 additions and 3 deletions

View file

@ -689,7 +689,7 @@ sub www_editSettings {
$tabform->getTab("account")->addFieldset( $settingsForm, name => $account->{identifier}, label => $title );
}
$tabform->addField( "submit", name => "submit" );
$tabform->addField( "submit", name => "send" );
$output .= $tabform->toHtml;
my $ac = WebGUI::AdminConsole->new($session,"settings");

View file

@ -180,7 +180,7 @@ sub www_adminAccount {
hoverHelp => $i18n->get('language help'),
options => $i18n->getLanguages(),
);
$f->addField( "submit", name => "submit" );
$f->addField( "submit", name => "send" );
return '<h1>' . $legend . '</h1>' . $f->toHtml;
}
@ -270,7 +270,7 @@ sub www_companyInformation {
label => $i18n->get(127),
hoverHelp => $i18n->get('127 description'),
);
$f->addField( "submit", name => "submit" );
$f->addField( "submit", name => "send" );
$output .= $f->toHtml;
return $output;