Fix report generation

This commit is contained in:
Dan Stillman 2015-03-17 00:05:08 -04:00
parent 417335baf2
commit 828f3f5024
2 changed files with 1 additions and 3 deletions

View file

@ -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();

View file

@ -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/')) {