From 7f7fe90ad5fc21502fb1ab2e84f793628cd9892d Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 8 Apr 2013 18:29:17 -0400 Subject: [PATCH] Allow attachments to be saved using relative URLs See https://groups.google.com/forum/?fromgroups=#!topic/zotero-dev/bBB8lyXy9V8 and zotero/translators#569 --- .../zotero/xpcom/translation/translate.js | 64 ++++++++++++++-- .../zotero/xpcom/utilities_translate.js | 76 ++++--------------- 2 files changed, 70 insertions(+), 70 deletions(-) diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index ffde3fd48..54edc41a7 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -630,14 +630,11 @@ Zotero.Translate.Sandbox = { } } - // Remap attachment (but not link) URLs - var properToProxy = translate.translator[0].properToProxy; - if(properToProxy && item.attachments) { - for(var i=0; i