Merge "Use OO.ui.MultilineTextInputWidget"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 11 Jul 2017 15:56:36 +0000 (15:56 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 11 Jul 2017 15:56:36 +0000 (15:56 +0000)
resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js
resources/src/mediawiki/mediawiki.Upload.BookletLayout.js

index 8c80cb8..7a1fa7f 100644 (file)
                        required: true,
                        validate: /.+/
                } );
-               this.descriptionWidget = new OO.ui.TextInputWidget( {
+               this.descriptionWidget = new OO.ui.MultilineTextInputWidget( {
                        required: true,
                        validate: /\S+/,
-                       multiline: true,
                        autosize: true
                } );
                this.categoriesWidget = new mw.widgets.CategoryMultiselectWidget( {
index c58af4f..3ade332 100644 (file)
                        required: true,
                        validate: /.+/
                } );
-               this.descriptionWidget = new OO.ui.TextInputWidget( {
+               this.descriptionWidget = new OO.ui.MultilineTextInputWidget( {
                        indicator: 'required',
                        required: true,
                        validate: /\S+/,
-                       multiline: true,
                        autosize: true
                } );