Refresh trash view when an item is removed from the trash

This commit is contained in:
Simon Kornblith 2011-10-02 15:50:09 +00:00
parent f52cb2c397
commit b4c4ec3a86

View file

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