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

@ -593,7 +593,7 @@ sub www_createSubscriptionCodeBatch {
# Generate the properties form for this subscription code batch
my $f = WebGUI::FormBuilder->new( $session, action => $self->getUrl );
$f->addField( "submit", name => "submit" );
$f->addField( "submit", name => "send" );
$f->addField( "hidden",
name => 'func',
value => 'createSubscriptionCodeBatchSave'
@ -628,7 +628,7 @@ sub www_createSubscriptionCodeBatch {
hoverHelp => $i18n->get('batch description description'),
value => $session->form->process("description"),
);
$f->addField( "submit", name => "submit" );
$f->addField( "submit", name => "send" );
return $errorMessage.$f->toHtml;
}
@ -1016,7 +1016,7 @@ sub www_redeemSubscriptionCode {
-maxLength => 64,
-size => 30
);
$f->addField( "submit", name => "submit" );
$f->addField( "submit", name => "send" );
$var->{ codeForm } = $f->toHtml;
return $self->processStyle($self->processTemplate($var, $self->redeemSubscriptionCodeTemplateId));