Fix for delete not refreshing in saved search
This commit is contained in:
parent
205c3b0467
commit
ef7de7c533
|
@ -107,7 +107,8 @@ Zotero.ItemTreeView.prototype.notify = function(action, type, ids)
|
|||
|
||||
var quicksearch = this._treebox.treeBody.ownerDocument.getElementById('tb-search');
|
||||
|
||||
if((action == 'remove' && !this._itemGroup.isLibrary()) || (action == 'delete' && this._itemGroup.isLibrary()))
|
||||
if((action == 'remove' && !this._itemGroup.isLibrary())
|
||||
|| (action == 'delete' && (this._itemGroup.isLibrary() || this._itemGroup.isSearch())))
|
||||
{
|
||||
//Since a remove involves shifting of rows, we have to do it in order
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user