- closes #566, chicago note-with-bibliography style does not allow generation of a bibliography

- closes #547, Add ECL license header to Word plugin
This commit is contained in:
Simon Kornblith 2007-03-22 14:20:05 +00:00
parent 12f1189ac6
commit 4e98dc8c02
2 changed files with 3 additions and 1 deletions

View File

@ -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;
}
}

View File

@ -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"];
}
}