summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mailnews/addrbook/content/abResultsPane.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/mailnews/addrbook/content/abResultsPane.js b/mailnews/addrbook/content/abResultsPane.js
index 58a1771cb..9a31f701e 100644
--- a/mailnews/addrbook/content/abResultsPane.js
+++ b/mailnews/addrbook/content/abResultsPane.js
@@ -366,6 +366,8 @@ var ResultsPaneController =
case "cmd_selectAll":
case "cmd_delete":
case "button_delete":
+ case "cmd_printcardpreview":
+ case "cmd_printcard":
case "cmd_properties":
case "cmd_newlist":
case "cmd_newCard":
@@ -414,6 +416,9 @@ var ResultsPaneController =
}
}
return (enabled && (numSelected > 0));
+ case "cmd_printcardpreview":
+ case "cmd_printcard":
+ return (GetNumSelectedCards() > 0);
case "cmd_properties":
// Temporary fix for SeaMonkey (see bug 1318852).
// goSetLabelAccesskeyTooltiptext() is only defined in mail/.