From: francescbassas Date: Wed, 27 Jul 2016 14:30:34 +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=42f186fb82e59d46c6c5b52142963197f464637d;p=civicrm-core.git CRM-19133 Unassigning contact subtype for a custom group causes data loss --- diff --git a/templates/CRM/Contact/Form/Contact.tpl b/templates/CRM/Contact/Form/Contact.tpl index 776d541932..f6da7694c7 100644 --- a/templates/CRM/Contact/Form/Contact.tpl +++ b/templates/CRM/Contact/Form/Contact.tpl @@ -237,7 +237,7 @@ } }); if ( warning ) { - return confirm({/literal}'{ts escape="js"}One or more contact subtypes have been de-selected from the list for this contact. Any custom data associated with de-selected subtype will be removed. Click OK to proceed, or Cancel to review your changes before saving.{/ts}'{literal}); + return confirm({/literal}'{ts escape="js"}One or more contact subtypes have been de-selected from the list for this contact. Any custom data associated with de-selected subtype will be removed as long as the contact does not have a contact subtype still selected. Click OK to proceed, or Cancel to review your changes before saving.{/ts}'{literal}); } return true; });