From eecd625298005f7688ea3bc58f6b07b1b5ba1603 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 2 Apr 2016 04:10:27 -0400 Subject: [PATCH] Populate both creator fields on Tab autocomplete select Closes #926 --- chrome/content/zotero/bindings/itembox.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index 647f13eb83..11d536e18a 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -1462,7 +1462,11 @@ params.creatorTypeID = creatorTypeID; } + // Return t.setAttribute('ontextentered', + 'document.getBindingParent(this).handleCreatorAutoCompleteSelect(this, true)'); + // Tab/Shift-Tab + t.setAttribute('onchange', 'document.getBindingParent(this).handleCreatorAutoCompleteSelect(this)'); }; t.setAttribute( @@ -1517,6 +1521,7 @@ --> +