Fix cancelling editing of citations
This commit is contained in:
parent
917d928d79
commit
449eae031f
|
@ -1388,9 +1388,11 @@ Zotero.Integration.Fields.prototype.addEditCitation = function(field, callback)
|
|||
me.updateSession(doAccept);
|
||||
}
|
||||
});
|
||||
} else if(newField) {
|
||||
// New citation was cancelled
|
||||
field.delete();
|
||||
} else {
|
||||
if(newField) {
|
||||
// New citation was cancelled
|
||||
field.delete();
|
||||
}
|
||||
callback();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user