Don't display trash message when deleting from group collection

This commit is contained in:
Dan Stillman 2010-10-08 08:43:59 +00:00
parent f58d6f3597
commit 8cedbbe125

View file

@ -1397,7 +1397,7 @@ var ZoteroPane = new function()
}
else if (itemGroup.isCollection()) {
// In collection, only prompt if trashing
var prompt = force ? toTrash : false;
var prompt = force ? (itemGroup.isWithinGroup() ? toDelete : toTrash) : false;
}
// This should be changed if/when groups get trash
else if (itemGroup.isGroup()) {