mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
- 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:
parent
12f1189ac6
commit
4e98dc8c02
2 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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"];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue