From ebbbeb66091e09b96b3c99eb69a68365e275a7db Mon Sep 17 00:00:00 2001 From: ampli Date: Tue, 28 Jun 2011 03:34:24 +0300 Subject: [PATCH] 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. --- lib/WebGUI/Operation/Settings.pm | 2 +- lib/WebGUI/Wizard/Setup.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/WebGUI/Operation/Settings.pm b/lib/WebGUI/Operation/Settings.pm index ffcce051a..0d28fb5da 100644 --- a/lib/WebGUI/Operation/Settings.pm +++ b/lib/WebGUI/Operation/Settings.pm @@ -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"); diff --git a/lib/WebGUI/Wizard/Setup.pm b/lib/WebGUI/Wizard/Setup.pm index 8591a83b0..f11576406 100644 --- a/lib/WebGUI/Wizard/Setup.pm +++ b/lib/WebGUI/Wizard/Setup.pm @@ -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 '

' . $legend . '

' . $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;