From 3dcb6fea278a565e83ceda4d3c67a9df1dc43fb2 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 13 Mar 2014 10:35:36 -0400 Subject: [PATCH] Update Pledge tab --- CRM/Pledge/Page/Tab.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CRM/Pledge/Page/Tab.php b/CRM/Pledge/Page/Tab.php index 22b0897726..efc9b67090 100644 --- a/CRM/Pledge/Page/Tab.php +++ b/CRM/Pledge/Page/Tab.php @@ -55,6 +55,10 @@ class CRM_Pledge_Page_Tab extends CRM_Core_Page { $displayName = CRM_Contact_BAO_Contact::displayName($this->_contactId); $this->assign('displayName', $displayName); $this->ajaxResponse['tabCount'] = CRM_Contact_BAO_Contact::getCountComponent('pledge', $this->_contactId); + // Refresh other tabs with related data + $this->ajaxResponse['updateTabs'] = array( + '#tab_activity' => CRM_Contact_BAO_Contact::getCountComponent('activity', $this->_contactId), + ); } } -- 2.25.1