commit 94e92b9f53c5e9c7a39db00260350e84250c53d2
parent fa602e49849b96a56b5e75bd771a89b840f67263
Author: Simon Kornblith <simon@simonster.com>
Date: Fri, 5 Aug 2011 21:08:29 +0000
Fix citation editing with sorted styles
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js
@@ -498,6 +498,7 @@ var Zotero_QuickFormat = new function () {
function _showCitation(insertBefore) {
if(!io.citation.properties.unsorted
&& keepSorted.hasAttribute("checked")
+ && io.citation.sortedItems
&& io.citation.sortedItems.length) {
for(var i=0, n=io.citation.sortedItems.length; i<n; i++) {
_insertBubble(io.citation.sortedItems[i][1], insertBefore);