From 55d3f8c47c44459244a8883856b1bb12fae64d35 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 31 May 2011 01:00:51 +0000 Subject: [PATCH] closes #1818, Include styleID on io.wrappedJSObject within addCitationDialog.js --- chrome/content/zotero/xpcom/integration.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index 412060b2b..931e23e72 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -1996,6 +1996,8 @@ Zotero.Integration.Session.prototype.editCitation = function(index, noteIndex, c // determine whether citation is sortable in current style io.sortable = this.style.opt.sort_citations; + // citeproc-js style object for use of third-party extension + io.style = this.style; this._displayDialog('chrome://zotero/content/integration/addCitationDialog.xul', 'resizable', io);