From aea919845746b6559e12af525f2d0f4ebd02ee68 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Thu, 11 Mar 2021 19:45:07 -0500 Subject: [PATCH] button is no longer an input so to change it can't use val() --- templates/CRM/Financial/Form/Export.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/CRM/Financial/Form/Export.tpl b/templates/CRM/Financial/Form/Export.tpl index 4b1bf47f1d..1bd38a56bf 100644 --- a/templates/CRM/Financial/Form/Export.tpl +++ b/templates/CRM/Financial/Form/Export.tpl @@ -40,7 +40,8 @@ $('input[name="export_format"]').filter('[value=IIF]').prop('checked', true); $('#_qf_Export_next').click(function(){ $(this).hide(); - $('#_qf_Export_cancel').val('{/literal}{ts}Done{/ts}{literal}'); + {/literal}{capture assign=tsdone}{ts}Done{/ts}{/capture}{literal} + $('#_qf_Export_cancel').html(' {/literal}{$tsdone|escape}{literal}'); }); }); -- 2.25.1