Display bibliography placeholder when there is a bibliography in the document, but no items cited
This commit is contained in:
parent
6fc6dbe4e5
commit
4278d60710
1 changed files with 5 additions and 1 deletions
|
@ -580,7 +580,11 @@ Zotero.Integration.Document.prototype._updateDocument = function(forceCitations,
|
|||
|
||||
var bibliographyText = this._session.getBibliography();
|
||||
for each(var field in this._bibliographyFields) {
|
||||
field.setText(bibliographyText, true);
|
||||
if(bibliographyText) {
|
||||
field.setText(bibliographyText, true);
|
||||
} else {
|
||||
field.setText("{Bibliography}", false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue