mirror of
https://github.com/zotero/zotero.git
synced 2026-10-17 04:33:42 +00:00
Fix error on object delete
This commit is contained in:
parent
4782c725e7
commit
db99aae239
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