www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 091c5c279c01453fc00173ba67f541ab5e7f45e2
parent 15a71dc7412af53f9860592ad79d5ca89a8a6b55
Author: Adomas VenĨkauskas <adomas.ven@gmail.com>
Date:   Wed,  9 Nov 2016 11:57:11 +0200

Pass the import url over to the standalone on /connector/saveItems.

Should address some issues related to translating via a proxy like this one
https://forums.zotero.org/discussion/63057/zotero-not-downloading-pdfs

Addresses zotero/zotero-connectors#3

Diffstat:
Mchrome/content/zotero/xpcom/connector/connector.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/connector/connector.js b/chrome/content/zotero/xpcom/connector/connector.js @@ -256,6 +256,9 @@ Zotero.Connector = new function() { data.detailedCookies = cookieHeader.substr(1); } + // Cookie URI needed to set up the cookie sandbox on standalone + data.uri = tab.url; + self.callMethod("saveItems", data, callback, tab); }); return;