commit 55d3f8c47c44459244a8883856b1bb12fae64d35
parent 13f793e636a8b0fb76acd7967edf155e2c11e431
Author: Simon Kornblith <simon@simonster.com>
Date: Tue, 31 May 2011 01:00:51 +0000
closes #1818, Include styleID on io.wrappedJSObject within addCitationDialog.js
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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);