mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
Make it possible to recreate a form
This commit is contained in:
parent
1637a19c23
commit
33d4142664
@ -610,4 +610,13 @@ class Form extends Zend_Form
|
|||||||
{
|
{
|
||||||
$this->buttonsHidden = true;
|
$this->buttonsHidden = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* q&d solution to be able to recreate a form
|
||||||
|
*/
|
||||||
|
public function reset()
|
||||||
|
{
|
||||||
|
$this->created = false;
|
||||||
|
$this->clearElements();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user