From d179ad46866b09d8284dca439557f1ff33c8f616 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 25 Dec 2006 08:58:35 +0000 Subject: [PATCH] Fixes #414, it is possible to edit the "extra" field and another field simultaneously (As noted in the ticket, this bug applied to clicking between any fields (not just "extra") without changing a value -- it also kept the second textbox from focusing properly on click.) Not entirely sure how I broke this, but here's a fix. --- chrome/content/zotero/itemPane.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chrome/content/zotero/itemPane.js b/chrome/content/zotero/itemPane.js index 205c0d5a21..3dae579acf 100644 --- a/chrome/content/zotero/itemPane.js +++ b/chrome/content/zotero/itemPane.js @@ -864,6 +864,9 @@ var ZoteroItemPane = new function() function showEditor(elem) { + // Blur any active fields + _dynamicFields.focus(); + //Zotero.debug('Showing editor'); var fieldName = elem.getAttribute('fieldname');