Bug 1320475 - Fix broken controllers for cmd_printcard and cmd_printcardpreview. r=aceman
This commit is contained in:
Родитель
3a3891f3a8
Коммит
c82dd30a36
|
@ -292,6 +292,8 @@ function CommandUpdate_AddressBook()
|
|||
{
|
||||
goUpdateCommand('cmd_delete');
|
||||
goUpdateCommand('button_delete');
|
||||
goUpdateCommand('cmd_printcardpreview');
|
||||
goUpdateCommand('cmd_printcard');
|
||||
goUpdateCommand('cmd_properties');
|
||||
goUpdateCommand("cmd_abToggleStartupDir");
|
||||
goUpdateCommand('cmd_newlist');
|
||||
|
|
|
@ -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/.
|
||||
|
|
Загрузка…
Ссылка в новой задаче