mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 07:44:05 +02:00
QuickForm: add moveSubmitToBottom hack
This commit is contained in:
parent
e7c6bfbfc3
commit
1fd97c8606
@ -78,6 +78,16 @@ abstract class QuickForm extends Zend_Form
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: This is ugly, we need to defer button creation
|
||||||
|
protected function moveSubmitToBottom()
|
||||||
|
{
|
||||||
|
$label = $this->getSubmitLabel();
|
||||||
|
if ($submit = $this->getElement($label)) {
|
||||||
|
$this->removeElement($label);
|
||||||
|
$this->addElement($submit);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
protected function createIdElement()
|
protected function createIdElement()
|
||||||
{
|
{
|
||||||
$this->detectName();
|
$this->detectName();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user