From 478d4bb7d2863fbb2c5cb80d501bfa23f66dcf49 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 7 Oct 2023 13:43:30 +1300 Subject: [PATCH] Fix missing quotes in tpl file This is a longstanding error rather than a regression - but it hard failes when Smarty3 is enabled. Smarty3 is a pretty good tool for finding issues when testing the rc it turns out (highlights variable errors in smarty) so I'm fixing in the rc so as not to be blocked on using smarty with the rc --- templates/CRM/Event/Form/ManageEvent/Fee.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Event/Form/ManageEvent/Fee.tpl b/templates/CRM/Event/Form/ManageEvent/Fee.tpl index e6c49250ad..7162790c3e 100644 --- a/templates/CRM/Event/Form/ManageEvent/Fee.tpl +++ b/templates/CRM/Event/Form/ManageEvent/Fee.tpl @@ -216,7 +216,7 @@ function warnDiscountDel( ) { if ( ! document.getElementsByName('is_discount')[0].checked ) { - CRM.alert('{/literal}{ts escape="js"}If you uncheck "Discounts by Signup Date" and Save this form, any existing discount sets will be deleted.{/ts} {ts escape="js"}This action cannot be undone.{/ts} {ts escape="js"}If this is NOT what you want to do, you can check "Discounts by Signup Date" again.{/ts}', '{ts escape="js}Warning{/ts}{literal}', 'alert', {expires: 0}); + CRM.alert('{/literal}{ts escape="js"}If you uncheck "Discounts by Signup Date" and Save this form, any existing discount sets will be deleted.{/ts} {ts escape="js"}This action cannot be undone.{/ts} {ts escape="js"}If this is NOT what you want to do, you can check "Discounts by Signup Date" again.{/ts}', '{ts escape="js"}Warning{/ts}{literal}', 'alert', {expires: 0}); } } -- 2.25.1