commit b4c4ec3a8626a28d5e9d309d90e99fea4811513e
parent f52cb2c3978d55bc3f51ac3daa3c8696671c6936
Author: Simon Kornblith <simon@simonster.com>
Date: Sun, 2 Oct 2011 15:50:09 +0000
Refresh trash view when an item is removed from the trash
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/itemTreeView.js b/chrome/content/zotero/xpcom/itemTreeView.js
@@ -445,6 +445,7 @@ Zotero.ItemTreeView.prototype.notify = function(action, type, ids, extraData)
// If trash or saved search, just re-run search
if (itemGroup.isTrash() || itemGroup.isSearch())
{
+ Zotero.ItemGroupCache.clear();
this.refresh();
madeChanges = true;
sort = true;