Disable attachmentContentType check to prevent sync errors
(cherry picked from commit 81ec8287f8
)
This commit is contained in:
parent
48c7c60bf1
commit
4f7583e1c0
1 changed files with 1 additions and 1 deletions
|
@ -1906,7 +1906,7 @@ Zotero.Item.prototype._saveData = Zotero.Promise.coroutine(function* (env) {
|
|||
throw new Error("Annotation parent must be a file attachment");
|
||||
}
|
||||
if (parentItem.attachmentContentType != 'application/pdf') {
|
||||
throw new Error("Annotation parent must be a PDF");
|
||||
//throw new Error("Annotation parent must be a PDF");
|
||||
}
|
||||
let type = this._getLatestField('annotationType');
|
||||
let typeID = Zotero.Annotations[`ANNOTATION_TYPE_${type.toUpperCase()}`];
|
||||
|
|
Loading…
Reference in a new issue