mirror of
https://github.com/zotero/zotero.git
synced 2026-10-11 03:38:25 +00:00
Fix error on object delete
This commit is contained in:
parent
1434b8aa7a
commit
7f1677d726
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue