diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index cfcd6dba0d..1e5e9ee2a3 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -1653,7 +1653,9 @@ Zotero.Integration.Fields.prototype.addEditCitation = function(field, callback) } else { newField = true; var field = this.addField(true); - if(!field) return; + if(!field) { + throw new Zotero.Integration.UserCancelledException; + } } if(!citation) {