Fix #988, 5.0: Tab skips Abstract and Extra fields

This commit is contained in:
Dan Stillman 2016-05-04 21:09:47 -04:00
parent cd5e805b9e
commit 8c98abe9dc

View File

@ -2205,7 +2205,7 @@
tabindex = parseInt(tabindex); tabindex = parseInt(tabindex);
// Get all fields with ztabindex attributes // Get all fields with ztabindex attributes
var tabbableFields = box.querySelectorAll('label[ztabindex]'); var tabbableFields = box.querySelectorAll('*[ztabindex]');
if (!tabbableFields.length) { if (!tabbableFields.length) {
Zotero.debug("No tabbable fields found"); Zotero.debug("No tabbable fields found");