From ce834fc5f33d972b2c839afb784574e7400cdb65 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 14 Apr 2018 09:54:55 -0400 Subject: [PATCH] Don't focus previous row when choosing autocompleted creator https://forums.zotero.org/discussion/71310/ --- chrome/content/zotero/bindings/itembox.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index 260a03225..3f6178609 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -1622,8 +1622,8 @@ textbox.getAttribute('fieldname').split('-'); if (stayFocused) { - this._lastTabIndex = parseInt(textbox.getAttribute('ztabindex')) - 1; - this._tabDirection = 1; + this._lastTabIndex = parseInt(textbox.getAttribute('ztabindex')); + this._tabDirection = false; } var creator = Zotero.Creators.get(creatorID);