First part of Bug 451143 Print Preview Card and Abook both unuseable - fix some js/xul coding errors in AB card print preview. Still won't be useable yet. r/sr=bienvenu
This commit is contained in:
Родитель
b922ed94c2
Коммит
1a0473e661
|
@ -111,7 +111,7 @@
|
|||
events="focus"
|
||||
oncommandupdate="goUpdateGlobalEditMenuItems()"/>
|
||||
<command id="cmd_newlist" oncommand="goDoCommand('cmd_newlist');"/>
|
||||
<command id="cmd_printcardpreview" oncommand="AbPrintCardPreview();"/>
|
||||
<command id="cmd_printcardpreview" oncommand="AbPrintPreviewCard();"/>
|
||||
<command id="cmd_printcard" oncommand="AbPrintCard();"/>
|
||||
<command id="cmd_properties" oncommand="goDoCommand('button_edit');"/>
|
||||
<command id="cmd_undo" oncommand="goDoCommand('cmd_undo')" disabled="true"/>
|
||||
|
|
|
@ -453,7 +453,7 @@ NS_IMETHODIMP nsAbCardProperty::Equals(nsIAbCard *card, PRBool *result)
|
|||
// XXX: Use the category manager instead of this file to implement these
|
||||
NS_IMETHODIMP nsAbCardProperty::TranslateTo(const nsACString &type, nsACString &result)
|
||||
{
|
||||
if (type.EqualsLiteral("base64"))
|
||||
if (type.EqualsLiteral("base64xml"))
|
||||
return ConvertToBase64EncodedXML(result);
|
||||
else if (type.EqualsLiteral("xml"))
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче