Cancelling the "replace this field" box should not break integration

This commit is contained in:
Simon Kornblith 2012-02-13 13:33:48 -05:00
parent bd152fa362
commit 10a09884f4

View file

@ -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) {