From 8c98abe9dc95e94285d18f745f32bfaebf68dc92 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 4 May 2016 21:09:47 -0400 Subject: [PATCH] Fix #988, 5.0: Tab skips Abstract and Extra fields --- 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 9794704dd..66f34350c 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -2205,7 +2205,7 @@ tabindex = parseInt(tabindex); // Get all fields with ztabindex attributes - var tabbableFields = box.querySelectorAll('label[ztabindex]'); + var tabbableFields = box.querySelectorAll('*[ztabindex]'); if (!tabbableFields.length) { Zotero.debug("No tabbable fields found"); @@ -2223,7 +2223,7 @@ } } else { - Zotero.debug('Looking for next tabindex after ' + tabindex, 4); + Zotero.debug('Looking for next tabindex after ' + tabindex, 4); for (var pos = 0; pos < tabbableFields.length; pos++) { if (parseInt(tabbableFields[pos].getAttribute('ztabindex')) > tabindex) { next = tabbableFields[pos];