From 21e51f771c1bc059b57cb960d2ab273d6ff40c3d Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Thu, 13 Aug 2015 19:44:35 -0400 Subject: [PATCH] Fix QuickFormat bubble updating when editing citation properties --- chrome/content/zotero/integration/quickFormat.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js index 0bcead651e..18792cb5a3 100644 --- a/chrome/content/zotero/integration/quickFormat.js +++ b/chrome/content/zotero/integration/quickFormat.js @@ -227,7 +227,7 @@ var Zotero_QuickFormat = new function () { var prevNode = node.previousSibling; if(prevNode && prevNode.citationItem && prevNode.citationItem.locator) { prevNode.citationItem.locator += str; - prevNode.value = _buildBubbleString(prevNode.citationItem); + prevNode.textContent = _buildBubbleString(prevNode.citationItem); node.nodeValue = ""; _clearEntryList(); return; @@ -244,7 +244,7 @@ var Zotero_QuickFormat = new function () { var prevNode = node.previousSibling; if(prevNode && prevNode.citationItem) { prevNode.citationItem.locator = m[2]; - prevNode.value = _buildBubbleString(prevNode.citationItem); + prevNode.textContent = _buildBubbleString(prevNode.citationItem); node.nodeValue = ""; _clearEntryList(); return; @@ -1237,7 +1237,7 @@ var Zotero_QuickFormat = new function () { } else { delete panelRefersToBubble.citationItem["suppress-author"]; } - panelRefersToBubble.value = _buildBubbleString(panelRefersToBubble.citationItem); + panelRefersToBubble.textContent = _buildBubbleString(panelRefersToBubble.citationItem); }; /**