Fix error on object delete

This commit is contained in:
Dan Stillman 2008-10-11 22:11:15 +00:00
parent 1434b8aa7a
commit 7f1677d726

View File

@ -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]];
}
}
}