commit 44bb1ad976134dcec473d97ccd22d9b74a47816f parent 28355c5ab5357e296dc9ec8ece9fc54df4d0c532 Author: Simon Kornblith <simon@simonster.com> Date: Wed, 19 Jun 2013 13:29:04 -0400 Ignore empty bibliography fields Diffstat:
| M | chrome/content/zotero/xpcom/integration.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js @@ -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;