Merge "Make citation dialog display like transclusion dialog in single mode"

This commit is contained in:
jenkins-bot 2014-04-24 01:09:54 +00:00 committed by Gerrit Code Review
commit 1739638577

View file

@ -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
*/