From: francescbassas Date: Wed, 27 Jul 2016 10:20:10 +0000 (+0200) Subject: CRM-19133 Unassigning contact subtype for a custom group causes data loss X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c6195a0e7a0ad2f422b950f5c710bc70e7b062e8;p=civicrm-core.git CRM-19133 Unassigning contact subtype for a custom group causes data loss --- 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; });