commit 8cedbbe1250a4d09ca0c14e9d5373447f900a388
parent f58d6f35971d940ad23d6f5e25b85757181947aa
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 8 Oct 2010 08:43:59 +0000
Don't display trash message when deleting from group collection
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js
@@ -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()) {