mw.ForeignStructuredUpload.BookletLayout: Switch order of widgets
authorPrateek Saxena <prtksxna@gmail.com>
Fri, 16 Oct 2015 14:39:12 +0000 (20:09 +0530)
committerPrateek Saxena <prtksxna@gmail.com>
Fri, 16 Oct 2015 14:39:12 +0000 (20:09 +0530)
As per Pau's observation and mw.Upload.BookletLayout, the description
input should come after the name input.

Change-Id: I6492f305734268de15d721476bf751e5bc9c805b

resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js

index c8877fd..5a7e62e 100644 (file)
                                label: mw.msg( 'upload-form-label-infoform-name' ),
                                align: 'top'
                        } ),
-                       new OO.ui.FieldLayout( this.categoriesWidget, {
-                               label: mw.msg( 'foreign-structured-upload-form-label-infoform-categories' ),
-                               align: 'top'
-                       } ),
                        new OO.ui.FieldLayout( this.descriptionWidget, {
                                label: mw.msg( 'upload-form-label-infoform-description' ),
                                align: 'top'
                        } ),
+                       new OO.ui.FieldLayout( this.categoriesWidget, {
+                               label: mw.msg( 'foreign-structured-upload-form-label-infoform-categories' ),
+                               align: 'top'
+                       } ),
                        new OO.ui.FieldLayout( this.dateWidget, {
                                label: mw.msg( 'foreign-structured-upload-form-label-infoform-date' ),
                                align: 'top'