Set the retracted flag for retracted items even if no prompt is required
This commit is contained in:
parent
9efd7cc07d
commit
2186e939a9
2 changed files with 4 additions and 9 deletions
|
@ -629,8 +629,8 @@ var Zotero_Citation_Dialog = new function () {
|
|||
if (checkbox.value) {
|
||||
Zotero.Retractions.disableCitationWarningsForItem({ id: parseInt(item.id) });
|
||||
}
|
||||
item.ignoreRetraction = true;
|
||||
}
|
||||
item.ignoreRetraction = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -746,16 +746,11 @@ var Zotero_QuickFormat = new function () {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
if (checkbox.value) {
|
||||
Zotero.Retractions.disableCitationWarningsForItem(citationItem);
|
||||
}
|
||||
citationItem.ignoreRetraction = true;
|
||||
if (checkbox.value) {
|
||||
Zotero.Retractions.disableCitationWarningsForItem(citationItem);
|
||||
}
|
||||
}
|
||||
else {
|
||||
citationItem.ignoreRetraction = true;
|
||||
}
|
||||
citationItem.ignoreRetraction = true;
|
||||
}
|
||||
|
||||
_updateLocator(_getEditorContent());
|
||||
|
|
Loading…
Reference in a new issue