mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
QuickForm: prepare elements before onRequest
This commit is contained in:
parent
c98a687ef0
commit
7b07d07d02
@ -272,8 +272,6 @@ abstract class QuickForm extends Zend_Form
|
|||||||
$this->setRequest($request);
|
$this->setRequest($request);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->prepareElements();
|
|
||||||
|
|
||||||
if ($this->hasBeenSent()) {
|
if ($this->hasBeenSent()) {
|
||||||
$post = $this->getRequest()->getPost();
|
$post = $this->getRequest()->getPost();
|
||||||
if ($this->hasBeenSubmitted()) {
|
if ($this->hasBeenSubmitted()) {
|
||||||
@ -366,6 +364,7 @@ abstract class QuickForm extends Zend_Form
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->request = $request;
|
$this->request = $request;
|
||||||
|
$this->prepareElements();
|
||||||
$this->onRequest();
|
$this->onRequest();
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user