Fix error in Zotero.Attachments.importFromDocument()
This commit is contained in:
parent
595f775c39
commit
fa82b66c9f
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ Zotero.Attachments = new function(){
|
||||||
var nsIURL = ioService.newURI(url, null, null);
|
var nsIURL = ioService.newURI(url, null, null);
|
||||||
wbp.progressListener = new Zotero.WebProgressFinishListener(function () {
|
wbp.progressListener = new Zotero.WebProgressFinishListener(function () {
|
||||||
try {
|
try {
|
||||||
attachmentItem.attachmentPath = this.getPath(
|
attachmentItem.attachmentPath = Zotero.Attachments.getPath(
|
||||||
file,
|
file,
|
||||||
Zotero.Attachments.LINK_MODE_IMPORTED_URL
|
Zotero.Attachments.LINK_MODE_IMPORTED_URL
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue