From c7e59a6f7d4aeadd315c8de1fcd7fc720cd3ee17 Mon Sep 17 00:00:00 2001 From: Andrew Hunt Date: Tue, 13 Oct 2015 13:15:14 -0400 Subject: [PATCH] CRM-16415 New icon after going through ---------------------------------------- * CRM-16415: Implement Font Awesome icon font https://issues.civicrm.org/jira/browse/CRM-16415 --- templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl b/templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl index dc98840b15..e4f543ee56 100644 --- a/templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl +++ b/templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl @@ -135,7 +135,7 @@ CRM.$(function($) { }); $dialog.dialog('option', 'buttons', [{ text: {/literal}"{ts escape='js'}Done{/ts}"{literal}, - icons: {primary: 'ui-icon-close'}, + icons: {primary: 'fa-times'}, click: function() {$(this).dialog('close');} }]); } @@ -215,7 +215,7 @@ function selectFormat( val, bind ) { cj.post( dataUrl, {formatId: val}, function( data ) { fillFormatInfo(data, bind); }, 'json'); - } + } else { data=JSON.parse(val); fillFormatInfo(data, bind); @@ -310,4 +310,3 @@ function showSaveDetails(chkbox) { {/literal} - -- 2.25.1