CC-4831: I18N: Error message of background settings when creating a show is not translated
-fixed
This commit is contained in:
parent
8ea3aca3a0
commit
7b4693e5f9
|
@ -19,9 +19,9 @@ class Application_Form_AddShowStyle extends Zend_Form_SubForm
|
|||
'class' => 'big'
|
||||
))));
|
||||
|
||||
$stringLengthValidator = Application_Form_Helper_ValidationTypes::overrideStringLengthValidator(6, 6);
|
||||
$bg->setValidators(array(
|
||||
'Hex',
|
||||
array('stringLength', false, array(6, 6))
|
||||
'Hex', $stringLengthValidator
|
||||
));
|
||||
|
||||
// Add show color input
|
||||
|
@ -39,8 +39,7 @@ class Application_Form_AddShowStyle extends Zend_Form_SubForm
|
|||
))));
|
||||
|
||||
$c->setValidators(array(
|
||||
'Hex',
|
||||
array('stringLength', false, array(6, 6))
|
||||
'Hex', $stringLengthValidator
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue