commit 42f6ac0f9fe853dd70e670bce931cec18329b275
parent 164f74a3bb0bfc58c3cc953134813689683e4548
Author: Dan Stillman <dstillman@zotero.org>
Date: Sat, 16 Feb 2008 10:17:31 +0000
Fixes #283, Autocomplete broken in Firefox 3, only 17 months later
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/itemPane.js b/chrome/content/zotero/itemPane.js
@@ -1123,6 +1123,10 @@ var ZoteroItemPane = new function()
// If result uses two fields, save both
if (numFields==2)
{
+ // Manually clear autocomplete controller's reference to
+ // textbox to prevent error next time around
+ textbox.mController.input = null;
+
var [field, creatorIndex, creatorField] =
textbox.getAttribute('fieldname').split('-');