Fix saving snapshots from document objects
This commit is contained in:
parent
4d27b803dc
commit
ea7b955414
|
@ -381,7 +381,7 @@ Zotero.Translate.ItemSaver.prototype = {
|
||||||
try {
|
try {
|
||||||
attachment.linkMode = "imported_url";
|
attachment.linkMode = "imported_url";
|
||||||
Zotero.Attachments.importFromDocument(attachment.document,
|
Zotero.Attachments.importFromDocument(attachment.document,
|
||||||
parentID, attachment.title, function(status, err) {
|
parentID, attachment.title, null, function(status, err) {
|
||||||
if(status) {
|
if(status) {
|
||||||
attachmentCallback(attachment, 100);
|
attachmentCallback(attachment, 100);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user