Skip to content

Commit

Permalink
The Save buttons in the two first steps didn't work in Chrome.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ampli committed Jun 28, 2011
1 parent f797429 commit ebbbeb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/WebGUI/Operation/Settings.pm
Expand Up @@ -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");
Expand Down
4 changes: 2 additions & 2 deletions lib/WebGUI/Wizard/Setup.pm
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit ebbbeb6

Please sign in to comment.