parent
53091384cd
commit
c0d82fa2cc
|
@ -946,7 +946,7 @@ class Form extends Zend_Form
|
||||||
if ($this->getUseFormAutosubmit()) {
|
if ($this->getUseFormAutosubmit()) {
|
||||||
$warningId = 'autosubmit_warning_' . $el->getId();
|
$warningId = 'autosubmit_warning_' . $el->getId();
|
||||||
$warningText = $this->getView()->escape($this->translate(
|
$warningText = $this->getView()->escape($this->translate(
|
||||||
'Upon its value changing, this field issues an automatic update of this page.'
|
'This page will be automatically updated upon change of the value'
|
||||||
));
|
));
|
||||||
$autosubmitDecorator = $this->_getDecorator('Callback', array(
|
$autosubmitDecorator = $this->_getDecorator('Callback', array(
|
||||||
'placement' => 'PREPEND',
|
'placement' => 'PREPEND',
|
||||||
|
|
|
@ -96,8 +96,8 @@ class Autosubmit extends Zend_Form_Decorator_Abstract
|
||||||
if ($content) {
|
if ($content) {
|
||||||
$isForm = $this->getElement() instanceof Form;
|
$isForm = $this->getElement() instanceof Form;
|
||||||
$warning = $isForm
|
$warning = $isForm
|
||||||
? t('Upon any of this form\'s fields were changed, this page is being updated automatically.')
|
? t('This page will be automatically updated upon change of any of this form\'s fields')
|
||||||
: t('Upon its value changing, this field issues an automatic update of this page.');
|
: t('This page will be automatically updated upon change of the value');
|
||||||
$content .= $this->getView()->icon('cw', $warning, array(
|
$content .= $this->getView()->icon('cw', $warning, array(
|
||||||
'aria-hidden' => $isForm ? 'false' : 'true',
|
'aria-hidden' => $isForm ? 'false' : 'true',
|
||||||
'class' => 'spinner autosubmit-info'
|
'class' => 'spinner autosubmit-info'
|
||||||
|
|
Loading…
Reference in New Issue