diff --git a/chrome/content/zotero/xpcom/cite.js b/chrome/content/zotero/xpcom/cite.js index 54983cd18..3b980cace 100644 --- a/chrome/content/zotero/xpcom/cite.js +++ b/chrome/content/zotero/xpcom/cite.js @@ -84,6 +84,7 @@ Zotero.CSL = function(csl) { // load class defaults this.class = this._csl["@class"].toString(); + this.hasBibliography = true; Zotero.debug("CSL: style class is "+this.class); this._defaults = new Object(); @@ -103,6 +104,7 @@ Zotero.CSL = function(csl) { if(!this._bib) { Zotero.debug("CSL: using citation element for bibliography"); this._bib = this._cit; + this.hasBibliography = false; } } diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index 610dfa354..e562d263e 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -530,7 +530,7 @@ Zotero.Integration.SOAP = new function() { 'chrome,modal'+(Zotero.isMac ? '' : ',popup'), io); session.setStyle(io.style); - return [sessionID, io.style, session.style.class]; + return [sessionID, io.style, session.style.class, session.style.hasBibliography ? "1" : "0"]; } }