mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
TransclusionDialog: Initialize label mode button
Because the mode label is set after measurements of the foot are made, the body of a ProcessDialog was set to overlap the foot. At some point T93290 will be fixed, but in the mean time we can solve this problem by setting an initially. Bug: T92986 Change-Id: I995d5ecd81b86ee188cf237f74487ec70480e297
This commit is contained in:
parent
3f6d19a75d
commit
8fc1e2dea0
|
@ -36,7 +36,10 @@ ve.ui.MWTransclusionDialog.static.title =
|
|||
ve.ui.MWTransclusionDialog.static.actions = ve.ui.MWTemplateDialog.static.actions.concat( [
|
||||
{
|
||||
action: 'mode',
|
||||
modes: [ 'edit', 'insert' ]
|
||||
modes: [ 'edit', 'insert' ],
|
||||
// HACK: Will be set later, but we want measurements to be accurate in the mean time, this
|
||||
// will not be needed when T93290 is resolved
|
||||
label: $( document.createTextNode( ' ' ) )
|
||||
}
|
||||
] );
|
||||
|
||||
|
|
Loading…
Reference in a new issue