Merge "Force re-rendering of ref list for clipboard"

This commit is contained in:
jenkins-bot 2018-03-24 17:08:32 +00:00 committed by Gerrit Code Review
commit f7cedc73af

View file

@ -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 ] );