mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Merge "Make citation dialog display like transclusion dialog in single mode"
This commit is contained in:
commit
1739638577
|
@ -123,6 +123,17 @@ ve.ui.MWCitationDialog.prototype.saveChanges = function () {
|
|||
this.referenceModel.updateInternalItem( surfaceModel );
|
||||
};
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
ve.ui.MWCitationDialog.prototype.initialize = function ( data ) {
|
||||
// Parent method
|
||||
ve.ui.MWCitationDialog.super.prototype.initialize.call( this, data );
|
||||
|
||||
// HACK: Use the same styling as single-mode transclusion dialog - this should be generalized
|
||||
this.frame.$content.addClass( 've-ui-mwTransclusionDialog-single' );
|
||||
};
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue