mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
SaveDialog: Remove scrollable property from nested panels
Scrolling is handled by oo-ui-window-body. Change-Id: If074b5de859b5a9dbad76d6715739e4d37e68c90
This commit is contained in:
parent
c36f3d2214
commit
956c28bf56
|
@ -553,10 +553,9 @@ ve.ui.MWSaveDialog.prototype.initialize = function () {
|
||||||
ve.ui.MWSaveDialog.super.prototype.initialize.call( this );
|
ve.ui.MWSaveDialog.super.prototype.initialize.call( this );
|
||||||
|
|
||||||
// Properties
|
// Properties
|
||||||
this.panels = new OO.ui.StackLayout( { scrollable: true } );
|
this.panels = new OO.ui.StackLayout( { scrollable: false } );
|
||||||
this.savePanel = new OO.ui.PanelLayout( {
|
this.savePanel = new OO.ui.PanelLayout( {
|
||||||
expanded: false,
|
expanded: false,
|
||||||
scrollable: true,
|
|
||||||
padded: true,
|
padded: true,
|
||||||
classes: [ 've-ui-mwSaveDialog-savePanel' ]
|
classes: [ 've-ui-mwSaveDialog-savePanel' ]
|
||||||
} );
|
} );
|
||||||
|
@ -643,7 +642,6 @@ ve.ui.MWSaveDialog.prototype.initialize = function () {
|
||||||
// Review panel
|
// Review panel
|
||||||
this.reviewPanel = new OO.ui.PanelLayout( {
|
this.reviewPanel = new OO.ui.PanelLayout( {
|
||||||
expanded: false,
|
expanded: false,
|
||||||
scrollable: true,
|
|
||||||
padded: true
|
padded: true
|
||||||
} );
|
} );
|
||||||
|
|
||||||
|
@ -675,7 +673,6 @@ ve.ui.MWSaveDialog.prototype.initialize = function () {
|
||||||
// Preview panel
|
// Preview panel
|
||||||
this.previewPanel = new OO.ui.PanelLayout( {
|
this.previewPanel = new OO.ui.PanelLayout( {
|
||||||
expanded: false,
|
expanded: false,
|
||||||
scrollable: true,
|
|
||||||
padded: true
|
padded: true
|
||||||
} );
|
} );
|
||||||
this.$previewViewer = $( '<div>' ).addClass( 'mw-body-content mw-parser-output' );
|
this.$previewViewer = $( '<div>' ).addClass( 'mw-body-content mw-parser-output' );
|
||||||
|
@ -687,7 +684,6 @@ ve.ui.MWSaveDialog.prototype.initialize = function () {
|
||||||
// Conflict panel
|
// Conflict panel
|
||||||
this.conflictPanel = new OO.ui.PanelLayout( {
|
this.conflictPanel = new OO.ui.PanelLayout( {
|
||||||
expanded: false,
|
expanded: false,
|
||||||
scrollable: true,
|
|
||||||
padded: true
|
padded: true
|
||||||
} );
|
} );
|
||||||
this.$conflict = $( '<div>' ).addClass( 've-ui-mwSaveDialog-conflict' )
|
this.$conflict = $( '<div>' ).addClass( 've-ui-mwSaveDialog-conflict' )
|
||||||
|
|
Loading…
Reference in a new issue