Fix Icinga\Web\Form\Element\Note using its default decorators
This commit is contained in:
parent
dacbd329dd
commit
ab8436dea8
|
@ -4,13 +4,24 @@
|
||||||
|
|
||||||
namespace Icinga\Web\Form\Element;
|
namespace Icinga\Web\Form\Element;
|
||||||
|
|
||||||
use Zend_Form_Element_Xhtml;
|
use Zend_Form_Element;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements note element for Zend forms
|
* Implements note element for Zend forms
|
||||||
*/
|
*/
|
||||||
class Note extends Zend_Form_Element_Xhtml
|
class Note extends Zend_Form_Element
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* Disable default decorators
|
||||||
|
*
|
||||||
|
* \Icinga\Web\Form sets default decorators for elements.
|
||||||
|
*
|
||||||
|
* @var bool
|
||||||
|
*
|
||||||
|
* @see \Icinga\Web\Form::__construct() For default element decorators.
|
||||||
|
*/
|
||||||
|
protected $_disableLoadDefaultDecorators = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name of the view helper
|
* Name of the view helper
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue