mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
MWTransclusionDialog: size footer correctly
Changing label means a refresh is needed. Bug: T167483 Change-Id: Ie4b35696bdf21d2a74e786875615d8753a57972d
This commit is contained in:
parent
2dc77148cb
commit
032fb2924e
|
@ -273,6 +273,9 @@ ve.ui.MWTransclusionDialog.prototype.updateModeActionLabel = function () {
|
|||
ve.msg( 'visualeditor-dialog-transclusion-single-mode' )
|
||||
);
|
||||
} );
|
||||
// The label change may need a layout change (most likely the height of
|
||||
// the footer), so reattach the actions to trigger this.
|
||||
this.attachActions();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue