From 6e4cdf9c0dee052c332aa9c55f74c6378799dc6b Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sun, 7 Sep 2014 19:49:50 -0400 Subject: [PATCH] Improve confirm message for disabling relationships --- CRM/Admin/Page/AJAX.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Admin/Page/AJAX.php b/CRM/Admin/Page/AJAX.php index 008afeb407..2677fab16f 100644 --- a/CRM/Admin/Page/AJAX.php +++ b/CRM/Admin/Page/AJAX.php @@ -139,6 +139,10 @@ class CRM_Admin_Page_AJAX { $ret['content'] = ts('Are you sure you want to disable this premium? This action will remove the premium from any contribution pages that currently offer it. However it will not delete the premium record - so you can re-enable it and add it back to your contribution page(s) at a later time.'); break; + case 'CRM_Contact_BAO_Relationship': + $ret['content'] = ts('Are you sure you want to disable this relationship?'); + break; + case 'CRM_Contact_BAO_RelationshipType': $ret['content'] = ts('Are you sure you want to disable this relationship type?') . '

' . ts('Users will no longer be able to select this value when adding or editing relationships between contacts.'); break; -- 2.25.1