Disable attachmentContentType check to prevent sync errors
This commit is contained in:
parent
4a8935eefd
commit
81ec8287f8
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