delete items from Zotero Commons
This commit is contained in:
parent
44999580e6
commit
b633588fe2
|
@ -1267,6 +1267,9 @@ Zotero.ItemTreeView.prototype.deleteSelection = function (force)
|
|||
else if (itemGroup.isCollection()) {
|
||||
itemGroup.ref.removeItems(ids);
|
||||
}
|
||||
else if (itemGroup.isBucket()) {
|
||||
itemGroup.ref.deleteItems(ids);
|
||||
}
|
||||
this._treebox.endUpdateBatch();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user