From 9b277fb5daefe49af67aa47764f6e40fce513499 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Mon, 25 Mar 2019 18:58:52 +0000 Subject: [PATCH] OOUI forms: Remove infusable = false False is already the default value for infusable. Change-Id: Ie0e9b7467b7f3f13c45372b38b7b80ba78852e55 --- includes/htmlform/HTMLFormField.php | 2 +- includes/htmlform/OOUIHTMLForm.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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 ) -- 2.20.1