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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -418,7 +418,7 @@ sub www_edit {
|
|||
|
||||
my $form = $self->getEditForm;
|
||||
$form->addField( 'csrfToken', name => 'csrfToken' );
|
||||
$form->addField( "submit", name => "submit" );
|
||||
$form->addField( "submit", name => "send" );
|
||||
|
||||
my $processUrl = $self->session->url->getSiteURL.'/?shop=pay&method=do&do=processTransaction&paymentGatewayId='.$self->getId;
|
||||
my $output = '<br />';
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -349,7 +349,7 @@ sub getEditForm {
|
|||
hoverHelp => $i18n->get('accept when vies unavailable help'),
|
||||
);
|
||||
|
||||
$f->addField( "submit", name => "submit" );
|
||||
$f->addField( "submit", name => "send" );
|
||||
my $general = $f->toHtml;
|
||||
|
||||
# VAT groups manager
|
||||
|
|
@ -364,7 +364,7 @@ sub getEditForm {
|
|||
. $i18n->get('rate')
|
||||
. WebGUI::Form::float( $session, { name => 'rate' } )
|
||||
. '%'
|
||||
. WebGUI::Form::submit( $session, { name => 'submit', value => 'Add' } )
|
||||
. WebGUI::Form::submit( $session, { name => 'send', value => 'Add' } )
|
||||
. WebGUI::Form::formFooter( $session );
|
||||
|
||||
# Wrap output in a YUI Tab widget.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue