Properly clear temp DB tables from items list generation

This commit is contained in:
Dan Stillman 2013-02-03 06:12:23 -05:00
parent 2a0c95d0ad
commit dfdfbf1258

View file

@ -1872,10 +1872,10 @@ Zotero.ItemGroupCache = {
"clear":function() {
this.lastItemGroup = null;
this.lastSearch = null;
this.lastTempTable = null;
if(this.lastTempTable) {
Zotero.DB.query("DROP TABLE "+this.lastTempTable);
}
this.lastTempTable = null;
this.lastResults = null;
}
};