Fix error on object delete
This commit is contained in:
parent
1434b8aa7a
commit
7f1677d726
|
@ -117,7 +117,7 @@ Zotero.DataObjects = function (object, objectPlural, id, table) {
|
|||
this.unload = function () {
|
||||
var ids = Zotero.flattenArguments(arguments);
|
||||
for (var i=0; i<ids.length; i++) {
|
||||
delete _objectCache[ids[i]];
|
||||
delete this._objectCache[ids[i]];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user