From a66c36750cc9bc1e442662d787fe8ad4dcc71335 Mon Sep 17 00:00:00 2001 From: Prateek Saxena Date: Wed, 12 Jul 2017 13:57:57 +0530 Subject: [PATCH] Replace TextInputWidget (multiline) with MultilineTextInputWidget Bug: T170275 Change-Id: I88a4dabbd2894a9ddacc55e8fcdedb141480be2b --- resources/mmv/ui/mmv.ui.reuse.embed.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/mmv/ui/mmv.ui.reuse.embed.js b/resources/mmv/ui/mmv.ui.reuse.embed.js index 9fb3f694a..815547c4b 100644 --- a/resources/mmv/ui/mmv.ui.reuse.embed.js +++ b/resources/mmv/ui/mmv.ui.reuse.embed.js @@ -117,9 +117,8 @@ ( mw.user.isAnon() ? htmlClasses : wikitextClasses ).push( 'active' ); - this.embedTextHtml = new oo.ui.TextInputWidget( { + this.embedTextHtml = new oo.ui.MultilineTextInputWidget( { classes: htmlClasses, - multiline: true, readOnly: true } ); @@ -130,9 +129,8 @@ mw.mmv.actionLogger.log( 'embed-html-copied' ); } ); - this.embedTextWikitext = new oo.ui.TextInputWidget( { + this.embedTextWikitext = new oo.ui.MultilineTextInputWidget( { classes: wikitextClasses, - multiline: true, readOnly: true } );