www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 2a9d1d269345274fb193b2f4e03756146430c3d7
parent 505e4a5674230519c8b66ac676b29cdbe0624ca2
Author: Simon Kornblith <simon@simonster.com>
Date:   Wed, 19 Jun 2013 13:29:04 -0400

Ignore empty bibliography fields

Diffstat:
Mchrome/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 @@ -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;