From 1b873a8ed22e33fe677061ee1060bfe6a5f7e9da Mon Sep 17 00:00:00 2001 From: Alex Monk Date: Wed, 30 Jul 2014 23:29:57 +0100 Subject: [PATCH] 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 --- modules/ve-mw/ui/widgets/ve.ui.MWReferenceSearchWidget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve-mw/ui/widgets/ve.ui.MWReferenceSearchWidget.js b/modules/ve-mw/ui/widgets/ve.ui.MWReferenceSearchWidget.js index 323aa6ccaa..1d2c0c8f2b 100644 --- a/modules/ve-mw/ui/widgets/ve.ui.MWReferenceSearchWidget.js +++ b/modules/ve-mw/ui/widgets/ve.ui.MWReferenceSearchWidget.js @@ -158,7 +158,7 @@ ve.ui.MWReferenceSearchWidget.prototype.buildIndex = function () { view.$element.find( 'a[href]' ).each( extractAttrs ); this.index.push( { - '$element': view.$element.clone(), + '$element': view.$element, 'text': text, 'reference': ref, 'citation': citation,