mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
ve.ui.MWGalleryDialog: Fix showing the search panel
Due to changes in StackLayout in OOUI v0.47.0 it is no longer able to
show a panel that was hidden using `.toggle( false )`.
Hiding it in this way seems to not have been needed anyway.
Bug: T337638
Change-Id: I81ed015986ed03fab1e65a7f3a826ac4296077b7
(cherry picked from commit 3109c82cc4
)
This commit is contained in:
parent
198b59b3ab
commit
4a4efcfe34
|
@ -179,7 +179,7 @@ ve.ui.MWGalleryDialog.prototype.initialize = function () {
|
|||
padded: true,
|
||||
expanded: true,
|
||||
scrollable: true
|
||||
} ).toggle( false );
|
||||
} );
|
||||
this.editSearchStack = new OO.ui.StackLayout( {
|
||||
items: [ this.editPanel, this.searchPanel ]
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue