Fix error in Zotero.Attachments.importFromDocument()

This commit is contained in:
Dan Stillman 2008-08-12 07:13:04 +00:00
parent 595f775c39
commit fa82b66c9f

View file

@ -558,7 +558,7 @@ Zotero.Attachments = new function(){
var nsIURL = ioService.newURI(url, null, null);
wbp.progressListener = new Zotero.WebProgressFinishListener(function () {
try {
attachmentItem.attachmentPath = this.getPath(
attachmentItem.attachmentPath = Zotero.Attachments.getPath(
file,
Zotero.Attachments.LINK_MODE_IMPORTED_URL
);