QuickForm: add buttons before onSetup() hook
This commit is contained in:
parent
7058536530
commit
18782b9ff5
|
@ -241,8 +241,8 @@ abstract class QuickForm extends Zend_Form
|
||||||
{
|
{
|
||||||
if (! $this->didSetup) {
|
if (! $this->didSetup) {
|
||||||
$this->setup();
|
$this->setup();
|
||||||
$this->onSetup();
|
|
||||||
$this->addSubmitButtonIfSet();
|
$this->addSubmitButtonIfSet();
|
||||||
|
$this->onSetup();
|
||||||
$this->didSetup = true;
|
$this->didSetup = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue