From 54790c13d8f422d78973de4f22ad84a0ee79d159 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 10 Nov 2006 09:23:33 +0000 Subject: [PATCH] Purge tags on item delete --- chrome/content/zotero/xpcom/data_access.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/data_access.js b/chrome/content/zotero/xpcom/data_access.js index 69312ad1fd..077f29c07c 100644 --- a/chrome/content/zotero/xpcom/data_access.js +++ b/chrome/content/zotero/xpcom/data_access.js @@ -1701,6 +1701,7 @@ Zotero.Item.prototype.erase = function(deleteChildren){ Zotero.DB.query(sql); Zotero.Creators.purge(); + Zotero.Tags.purge(); try { Zotero.DB.commitTransaction();