Fix report generation
This commit is contained in:
parent
417335baf2
commit
828f3f5024
2 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||
|
|
|
@ -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/')) {
|
||||
|
|
Loading…
Add table
Reference in a new issue