QuickForm: add buttons before onSetup() hook

This commit is contained in:
Thomas Gelf 2015-07-30 09:10:57 +02:00
parent 7058536530
commit 18782b9ff5
1 changed files with 1 additions and 1 deletions

View File

@ -241,8 +241,8 @@ abstract class QuickForm extends Zend_Form
{
if (! $this->didSetup) {
$this->setup();
$this->onSetup();
$this->addSubmitButtonIfSet();
$this->onSetup();
$this->didSetup = true;
}