commit 8c98abe9dc95e94285d18f745f32bfaebf68dc92
parent cd5e805b9e06652191134ec18db57b51f611b3eb
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 4 May 2016 21:09:47 -0400
Fix #988, 5.0: Tab skips Abstract and Extra fields
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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];