protected $mWrapperLegend = false;
public function __construct( $descriptor, $context = null, $messagePrefix = '' ) {
+ parent::__construct( $descriptor, $context, $messagePrefix );
$this->getOutput()->enableOOUI();
$this->getOutput()->addModules( 'mediawiki.htmlform.ooui' );
$this->getOutput()->addModuleStyles( 'mediawiki.htmlform.ooui.styles' );
- parent::__construct( $descriptor, $context, $messagePrefix );
}
/**
$buttons = '';
if ( $this->mShowSubmit ) {
- $attribs = array();
+ $attribs = array( 'infusable' => true );
if ( isset( $this->mSubmitID ) ) {
$attribs['id'] = $this->mSubmitID;