X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fhtmlform%2FOOUIHTMLForm.php;h=056591aad149363d74ec99f705c7a0d41872d397;hb=f78470de9365f0558469681d59267e30ffd6969f;hp=60e636600469219b35c59051f72a650a72adbfc1;hpb=77192d294e1a1cd025db5c4d400d45d3ea2a244c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/OOUIHTMLForm.php b/includes/htmlform/OOUIHTMLForm.php index 60e6366004..056591aad1 100644 --- a/includes/htmlform/OOUIHTMLForm.php +++ b/includes/htmlform/OOUIHTMLForm.php @@ -32,10 +32,10 @@ class OOUIHTMLForm extends HTMLForm { 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 ); } /** @@ -54,7 +54,7 @@ class OOUIHTMLForm extends HTMLForm { $buttons = ''; if ( $this->mShowSubmit ) { - $attribs = array(); + $attribs = array( 'infusable' => true ); if ( isset( $this->mSubmitID ) ) { $attribs['id'] = $this->mSubmitID;