when a URL is accessed through an EZProxy, access any associated files through the EZProxy as well (if possible)

This commit is contained in:
Simon Kornblith 2006-12-16 06:12:45 +00:00
parent df91887d52
commit 9aa5e53928

View file

@ -1286,6 +1286,10 @@ Zotero.Translate.prototype._itemDone = function(item, attachedTo) {
title = attachment.document.title;
}
if(this.locationIsProxied) {
attachment.url = Zotero.Ingester.ProxyMonitor.properToProxy(attachment.url);
}
Zotero.Attachments.importFromURL(attachment.url, myID, title);
}
}