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
|
|
@ -88,7 +88,7 @@ sub www_changeUrl {
|
|||
hoverHelp=> $i18n->get("confirm change url message"),
|
||||
subtext => '<br />'.$i18n->get("confirm change url message")
|
||||
);
|
||||
$f->addField( "submit", name => "submit" );
|
||||
$f->addField( "submit", name => "send" );
|
||||
return $f->toHtml;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -134,7 +134,7 @@ ENDHTML
|
|||
'none' => $i18n->get('rootUrl form option none') },
|
||||
value => ['none'],
|
||||
);
|
||||
$f->addField( "submit", name => "submit" );
|
||||
$f->addField( "submit", name => "send" );
|
||||
my $message;
|
||||
eval { $asset->exportCheckPath };
|
||||
if($@) {
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ sub www_crop {
|
|||
-name => "Left",
|
||||
-value => $y,
|
||||
);
|
||||
$f->addField( "submit", name => "submit" );
|
||||
$f->addField( "submit", name => "send" );
|
||||
|
||||
my $image
|
||||
= '<div align="center" class="yui-skin-sam"><img src="'
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ sub www_resize {
|
|||
name => "newHeight",
|
||||
value => $y,
|
||||
);
|
||||
$f->addField( "submit", name => "submit" );
|
||||
$f->addField( "submit", name => "send" );
|
||||
my $image
|
||||
= '<div align="center" class="yui-skin-sam"><img src="'
|
||||
. $asset->getStorageLocation->getUrl( $asset->filename )
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ sub www_rotate {
|
|||
name=>"Rotate",
|
||||
value=>0,
|
||||
);
|
||||
$f->addField( "submit", name => "submit" );
|
||||
$f->addField( "submit", name => "send" );
|
||||
|
||||
my $output = '<h1>' . $i18n->get("rotate image") . '</h1>' . $f->toHtml . $image;
|
||||
return $style->process( $output, "PBtmplBlankStyle000001" );
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ sub www_importProducts {
|
|||
|
||||
my $f = $self->getForm( 'importProductsSave' );
|
||||
$f->addField( 'file', name => 'importFile' );
|
||||
$f->addField( 'submit', name => 'submit', value => $i18n->get('import') );
|
||||
$f->addField( 'submit', name => 'send', value => $i18n->get('import') );
|
||||
|
||||
return $session->style->process(
|
||||
'<h1>' . $i18n->get('import') . '</h1>' . $f->toHtml,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue