mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
QuickForm: remove most decorators from submit
This commit is contained in:
parent
764d9e4d77
commit
48a0389c80
@ -103,7 +103,7 @@ abstract class QuickForm extends Zend_Form
|
||||
protected function addSubmitButtonIfSet()
|
||||
{
|
||||
if (false !== ($label = $this->getSubmitLabel())) {
|
||||
$el = $this->createElement('submit', $label)->setLabel($label)->removeDecorator('Label');
|
||||
$el = $this->createElement('submit', $label)->setLabel($label)->setDecorators(array('ViewHelper'));
|
||||
$this->submitButtonName = $el->getName();
|
||||
$this->addElement($el);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user