mirror of
https://github.com/zotero/zotero.git
synced 2026-09-20 00:12:49 +00:00
Fix cancelling editing of citations
This commit is contained in:
parent
917d928d79
commit
449eae031f
1 changed files with 5 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue