Ignore empty bibliography fields

This commit is contained in:
Simon Kornblith 2013-06-19 13:29:04 -04:00
parent 28355c5ab5
commit 44bb1ad976

View File

@ -1490,7 +1490,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;