From: Ed Sanders Date: Mon, 25 Mar 2019 18:58:52 +0000 (+0000) Subject: OOUI forms: Remove infusable = false X-Git-Tag: 1.34.0-rc.0~2342^2 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=9b277fb5daefe49af67aa47764f6e40fce513499;p=lhc%2Fweb%2Fwiklou.git OOUI forms: Remove infusable = false False is already the default value for infusable. Change-Id: Ie0e9b7467b7f3f13c45372b38b7b80ba78852e55 --- diff --git a/includes/htmlform/HTMLFormField.php b/includes/htmlform/HTMLFormField.php index 818474d47e..16dc46591b 100644 --- a/includes/htmlform/HTMLFormField.php +++ b/includes/htmlform/HTMLFormField.php @@ -586,7 +586,7 @@ abstract class HTMLFormField { // It might look weird, but it'll work OK. return $this->getFieldLayoutOOUI( new OOUI\Widget( [ 'content' => new OOUI\HtmlSnippet( $this->getDiv( $value ) ) ] ), - [ 'infusable' => false, 'align' => 'top' ] + [ 'align' => 'top' ] ); } diff --git a/includes/htmlform/OOUIHTMLForm.php b/includes/htmlform/OOUIHTMLForm.php index 49cbdee6e0..e7e3ff6333 100644 --- a/includes/htmlform/OOUIHTMLForm.php +++ b/includes/htmlform/OOUIHTMLForm.php @@ -151,13 +151,11 @@ class OOUIHTMLForm extends HTMLForm { 'expanded' => false, 'padded' => true, 'framed' => true, - 'infusable' => false, ] ); $layout->appendContent( new OOUI\FieldsetLayout( [ 'label' => $legend, - 'infusable' => false, 'items' => [ new OOUI\Widget( [ 'content' => new OOUI\HtmlSnippet( $section )