Merge pull request #834 from Juris-M/z4.0-bib-export-fix
Fix bug in Create Bibliography from Item w/Notes
This commit is contained in:
commit
2a9119801c
1 changed files with 10 additions and 3 deletions
|
@ -81,8 +81,15 @@ Zotero.Cite = {
|
|||
}
|
||||
|
||||
var styleClass = cslEngine.opt.class;
|
||||
var citations = [cslEngine.appendCitationCluster({"citationItems":[{"id":item.id}], "properties":{}}, true)[0][1]
|
||||
for each(item in items)];
|
||||
var citations=[];
|
||||
for (var i=0, ilen=items.length; i<ilen; i++) {
|
||||
var item = items[i];
|
||||
var outList = cslEngine.appendCitationCluster({"citationItems":[{"id":item.id}], "properties":{}}, true);
|
||||
for (var j=0, jlen=outList.length; j<jlen; j++) {
|
||||
var citationPos = outList[j][0];
|
||||
citations[citationPos] = outList[j][1];
|
||||
}
|
||||
}
|
||||
|
||||
if(styleClass == "note") {
|
||||
if(format == "html") {
|
||||
|
|
Loading…
Reference in a new issue