From 4ee790479af639caa75f54b5d59719fd743af3a8 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 5 Apr 2013 15:45:20 -0700 Subject: [PATCH] Fix confirm msg CRM-12254 --- templates/CRM/Form/attachmentjs.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/CRM/Form/attachmentjs.tpl b/templates/CRM/Form/attachmentjs.tpl index c991bbabe3..1f83b8030c 100644 --- a/templates/CRM/Form/attachmentjs.tpl +++ b/templates/CRM/Form/attachmentjs.tpl @@ -5,14 +5,14 @@ } function showDeleteAttachment( fileName, postURLData, fileID, divName, divFile ) { - var confirmMsg = '{/literal}{ts escape="js"}Are you sure you want to delete attachment: {/ts}{literal}' + fileName + '  {/literal}{ts escape='js'}Yes{/ts}{literal}   {/literal}{ts escape='js'}No{/ts}{literal}'; + var confirmMsg = '
{/literal}{ts escape="js"}Are you sure you want to delete attachment: {/ts}{literal}' + fileName + '  {/literal}
{ts escape='js'}Yes{/ts}{literal}   {/literal}{ts escape='js'}No{/ts}{literal}
'; cj( divName ).show( ).html( confirmMsg ); } function deleteAttachment( postURLData, fileID, divName, divFile ) { var postUrl = {/literal}"{crmURL p='civicrm/file/delete' h=0 }"{literal}; cj.ajax({ - type: "GET", + type: "POST", data: postURLData, url: postUrl, success: function(html){ -- 2.25.1