From 42f6ac0f9fe853dd70e670bce931cec18329b275 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 16 Feb 2008 10:17:31 +0000 Subject: [PATCH] Fixes #283, Autocomplete broken in Firefox 3, only 17 months later --- chrome/content/zotero/itemPane.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/itemPane.js b/chrome/content/zotero/itemPane.js index 80aef680a7..867019291c 100644 --- 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('-');