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:
Mark Banner 2008-09-18 18:04:22 +01:00
Родитель b922ed94c2
Коммит 1a0473e661
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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"))
{