From 62bc5830eb2a9cd81a52b3283b3ea69e9d0fb9fb Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 18 Feb 2014 18:43:58 -0500 Subject: [PATCH] Fix some harmless errors in the console editing autocomplete fields "comment.split is not a function" --- chrome/content/zotero/bindings/itembox.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index 5b1130662..3c97c40e0 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -1446,12 +1446,13 @@ params.itemID = itemID; params.creatorTypeID = creatorTypeID; } + + t.setAttribute('ontextentered', + 'document.getBindingParent(this).handleCreatorAutoCompleteSelect(this)'); }; t.setAttribute( 'autocompletesearchparam', JSON.stringify(params) ); - t.setAttribute('ontextentered', - 'document.getBindingParent(this).handleCreatorAutoCompleteSelect(this)'); } } var box = elem.parentNode; @@ -1489,6 +1490,7 @@