mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "Minor JSDoc documentation fixes in template dialog code"
This commit is contained in:
commit
e57daaad98
|
@ -49,7 +49,7 @@ OO.inheritClass( ve.ui.MWTemplateDialog, ve.ui.NodeDialog );
|
|||
ve.ui.MWTemplateDialog.static.modelClasses = [ ve.dm.MWTransclusionNode ];
|
||||
|
||||
/**
|
||||
* Configuration for booklet layout.
|
||||
* Configuration for the {@see OO.ui.BookletLayout} used in this dialog.
|
||||
*
|
||||
* @static
|
||||
* @property {Object}
|
||||
|
@ -94,8 +94,8 @@ ve.ui.MWTemplateDialog.prototype.onTransclusionModelChange = function () {
|
|||
* Handle parts being replaced.
|
||||
*
|
||||
* @protected
|
||||
* @param {ve.dm.MWTransclusionPartModel} removed Removed part
|
||||
* @param {ve.dm.MWTransclusionPartModel} added Added part
|
||||
* @param {ve.dm.MWTransclusionPartModel|null} removed Removed part
|
||||
* @param {ve.dm.MWTransclusionPartModel|null} added Added part
|
||||
*/
|
||||
ve.ui.MWTemplateDialog.prototype.onReplacePart = function ( removed, added ) {
|
||||
var names, reselect,
|
||||
|
@ -165,7 +165,6 @@ ve.ui.MWTemplateDialog.prototype.onReplacePart = function ( removed, added ) {
|
|||
}
|
||||
|
||||
this.setApplicableStatus();
|
||||
|
||||
this.updateTitle();
|
||||
};
|
||||
|
||||
|
|
|
@ -108,6 +108,7 @@ ve.ui.MWTransclusionDialog.static.actions = ve.ui.MWTemplateDialog.static.action
|
|||
}
|
||||
] );
|
||||
|
||||
/** @inheritdoc */
|
||||
ve.ui.MWTransclusionDialog.static.bookletLayoutConfig = ve.extendObject(
|
||||
{},
|
||||
ve.ui.MWTemplateDialog.static.bookletLayoutConfig,
|
||||
|
|
Loading…
Reference in a new issue