MWTransclusionDialog: size footer correctly

Changing label means a refresh is needed.

Bug: T167483
Change-Id: Ie4b35696bdf21d2a74e786875615d8753a57972d
This commit is contained in:
David Lynch 2017-06-13 11:48:38 -05:00
parent 2dc77148cb
commit 032fb2924e

View file

@ -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();
};
/**