Merge "Fix for crashing on save"

This commit is contained in:
jenkins-bot 2013-05-14 22:59:17 +00:00 committed by Gerrit Code Review
commit 85dc52500e

View file

@ -68,7 +68,7 @@ ve.dm.MWReferenceNode.static.toDomElements = function ( dataElement, doc, conver
span.setAttribute( 'typeof', 'mw:Object/Ext/Ref' );
converter.getDomSubtreeFromData(
converter.documentData.slice( itemNodeRange.start, itemNodeRange.end ),
itemNode.getDocument().getData().slice( itemNodeRange.start, itemNodeRange.end ),
itemNodeWrapper
),
itemNodeHtml = $( itemNodeWrapper ).html();