From 8cedbbe1250a4d09ca0c14e9d5373447f900a388 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 8 Oct 2010 08:43:59 +0000 Subject: [PATCH] Don't display trash message when deleting from group collection --- chrome/content/zotero/overlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index ebc2a6ef85..787ec886a7 100644 --- 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()) {