mirror of
https://github.com/zotero/zotero.git
synced 2026-10-06 02:50:03 +00:00
Cancelling the "replace this field" box should not break integration
This commit is contained in:
parent
bd152fa362
commit
10a09884f4
1 changed files with 3 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue