Don't clone internal item node element used for references in re-use citation dialog

It won't be ready at this point

Bug: 67342
Change-Id: Ic1bdc3df8f159cef736b00fbefc6f879a7dcd658
This commit is contained in:
Alex Monk 2014-07-30 23:29:57 +01:00
parent 3dd63f751a
commit 1b873a8ed2

View file

@ -158,7 +158,7 @@ ve.ui.MWReferenceSearchWidget.prototype.buildIndex = function () {
view.$element.find( 'a[href]' ).each( extractAttrs ); view.$element.find( 'a[href]' ).each( extractAttrs );
this.index.push( { this.index.push( {
'$element': view.$element.clone(), '$element': view.$element,
'text': text, 'text': text,
'reference': ref, 'reference': ref,
'citation': citation, 'citation': citation,