projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa9fbb6
)
Update Pledge tab
author
Coleman Watts
<coleman@civicrm.org>
Thu, 13 Mar 2014 14:35:36 +0000
(10:35 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Thu, 13 Mar 2014 14:35:36 +0000
(10:35 -0400)
CRM/Pledge/Page/Tab.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Pledge/Page/Tab.php
b/CRM/Pledge/Page/Tab.php
index 22b08977261167a454ac9748b40d2922e6718130..efc9b67090b299f537bf2c47d5273d62d19ce5fe 100644
(file)
--- 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),
+ );
}
}