www

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

commit 828f3f5024457d4af63328a6050f1968e8649224
parent 417335baf2cf1b5bafbcbb6e3db7658e65739973
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 17 Mar 2015 00:05:08 -0400

Fix report generation

Diffstat:
Mchrome/content/zotero/xpcom/data/item.js | 2+-
Mcomponents/zotero-protocol-handler.js | 2--
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js @@ -4100,7 +4100,7 @@ Zotero.Item.prototype.toJSON = Zotero.Promise.coroutine(function* (options, patc yield this.loadCollections(); obj.collections = this.getCollections().map(function (id) { return this.ContainerObjectsClass.getLibraryAndKeyFromID(id)[1]; - }); + }.bind(this)); // Relations yield this.loadRelations(); diff --git a/components/zotero-protocol-handler.js b/components/zotero-protocol-handler.js @@ -1186,8 +1186,6 @@ AsyncChannel.prototype = { Zotero.debug("AsyncChannel's asyncOpen called"); var t = new Date; - let channel = this; - // Proxy requests to other zotero:// URIs let uri2 = this.URI.clone(); if (uri2.path.startsWith('/proxy/')) {