From 032fb2924e14c221032851d83b55dd770df54f96 Mon Sep 17 00:00:00 2001 From: David Lynch Date: Tue, 13 Jun 2017 11:48:38 -0500 Subject: [PATCH] MWTransclusionDialog: size footer correctly Changing label means a refresh is needed. Bug: T167483 Change-Id: Ie4b35696bdf21d2a74e786875615d8753a57972d --- modules/ve-mw/ui/dialogs/ve.ui.MWTransclusionDialog.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/ve-mw/ui/dialogs/ve.ui.MWTransclusionDialog.js b/modules/ve-mw/ui/dialogs/ve.ui.MWTransclusionDialog.js index d0b7280ed2..2eed0bacf1 100644 --- a/modules/ve-mw/ui/dialogs/ve.ui.MWTransclusionDialog.js +++ b/modules/ve-mw/ui/dialogs/ve.ui.MWTransclusionDialog.js @@ -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(); }; /**