mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-01 01:56:20 +00:00
Merge "Force re-rendering of ref list for clipboard"
This commit is contained in:
commit
f7cedc73af
|
@ -125,6 +125,7 @@ ve.dm.MWReferencesListNode.static.toDomElements = function ( data, doc, converte
|
||||||
// Build from original doc's internal list to get all refs (T186407)
|
// Build from original doc's internal list to get all refs (T186407)
|
||||||
modelNode.setDocument( converter.originalDocInternalList.getDocument() );
|
modelNode.setDocument( converter.originalDocInternalList.getDocument() );
|
||||||
viewNode = new ve.ce.MWReferencesListNode( modelNode );
|
viewNode = new ve.ce.MWReferencesListNode( modelNode );
|
||||||
|
viewNode.modified = true;
|
||||||
viewNode.update();
|
viewNode.update();
|
||||||
els = [ doc.createElement( 'div' ) ];
|
els = [ doc.createElement( 'div' ) ];
|
||||||
els[ 0 ].appendChild( viewNode.$reflist[ 0 ] );
|
els[ 0 ].appendChild( viewNode.$reflist[ 0 ] );
|
||||||
|
|
Loading…
Reference in a new issue