From c6195a0e7a0ad2f422b950f5c710bc70e7b062e8 Mon Sep 17 00:00:00 2001 From: francescbassas Date: Wed, 27 Jul 2016 12:20:10 +0200 Subject: [PATCH] CRM-19133 Unassigning contact subtype for a custom group causes data loss --- templates/CRM/Custom/Form/Group.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Custom/Form/Group.tpl b/templates/CRM/Custom/Form/Group.tpl index 0b4da2b861..e80806a3db 100644 --- a/templates/CRM/Custom/Form/Group.tpl +++ b/templates/CRM/Custom/Form/Group.tpl @@ -188,7 +188,7 @@ CRM.$(function($) { }); if (warning) { - return confirm({/literal}'{ts escape='js'}Warning: You have chosen to remove one or more subtypes. This will cause any custom data records associated with those subtypes to be removed.{/ts}'{literal}); + return confirm({/literal}'{ts escape='js'}Warning: You have chosen to remove one or more subtypes. This will cause any custom data records associated with those subtypes to be removed as long as the contact does not have a contact subtype still selected.{/ts}'{literal}); } return true; }); -- 2.25.1