Fixes #283, Autocomplete broken in Firefox 3, only 17 months later

This commit is contained in:
Dan Stillman 2008-02-16 10:17:31 +00:00
parent 164f74a3bb
commit 42f6ac0f9f

View File

@ -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('-');