mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 16:30:12 +00:00
Fix broken reference to the new EditPanel class
Missed that in I8588cde1a54cd505a57a36ed97fc591653c9fb6f Bug: T369005 Change-Id: Ia08ac2d3d41ece91fe6b75d607d7b18f57f39333
This commit is contained in:
parent
e5b4d9edfb
commit
42b658004b
|
@ -295,7 +295,7 @@ ve.ui.MWReferenceDialog.prototype.updateExtendsWarningFromRef = function ( ref )
|
|||
const itemNode = list.getItemNode( list.keys.indexOf( ref.extendsRef ) );
|
||||
const parentRefText = new ve.ui.MWPreviewElement( itemNode, { useView: true } ).$element.text();
|
||||
// TODO extends i18n
|
||||
this.extendsWarning.setLabel( new OO.ui.HtmlSnippet(
|
||||
this.editPanel.extendsWarning.setLabel( new OO.ui.HtmlSnippet(
|
||||
`${ mw.msg( 'cite-ve-dialog-reference-editing-extends' ) }</br>${ parentRefText }`
|
||||
) );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue