commit 73686e242319b897bd63d2814f737ee7f095553c
parent 39e7ca7c9e7d4b86843e544868023ef5a9968820
Author: Dan Stillman <dstillman@zotero.org>
Date: Sat, 26 Apr 2014 02:08:50 -0400
Update field/tag textbox as autocomplete lines are selected
The main effect of this is that Tab now accepts the selected
autocomplete entry.
Closes #341 and #417
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml
@@ -1453,6 +1453,7 @@
t.setAttribute(
'autocompletesearchparam', JSON.stringify(params)
);
+ t.setAttribute('completeselectedindex', true);
}
}
var box = elem.parentNode;
diff --git a/chrome/content/zotero/bindings/tagsbox.xml b/chrome/content/zotero/bindings/tagsbox.xml
@@ -445,6 +445,7 @@
t.setAttribute(
'autocompletesearchparam', JSON.stringify(params)
);
+ t.setAttribute('completeselectedindex', true);
}
var box = elem.parentNode;