Ignore empty bibliography fields

This commit is contained in:
Simon Kornblith 2013-06-19 13:29:04 -04:00
parent 505e4a5674
commit 2a9d1d2693

View file

@ -1489,7 +1489,7 @@ Zotero.Integration.Fields.prototype._processFields = function(i) {
throw e;
}
}
} else if(type === INTEGRATION_TYPE_BIBLIOGRAPHY) {
} else if(type === INTEGRATION_TYPE_BIBLIOGRAPHY && field.getText().trim() !== "") {
this._bibliographyFields.push(field);
if(!this._session.bibliographyData && !this._bibliographyData) {
this._bibliographyData = content;