Skip to content
Snippets Groups Projects
Unverified Commit 771a26f1 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #19356 from demeritcowboy/add-timeline-buttons-fix

#2292 - Add Timeline dropdown on Manage Case not working after buttons UI changes
parents 5f291f0d 221e7200
Branches
Tags
No related merge requests found
......@@ -425,7 +425,7 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form {
$session = CRM_Core_Session::singleton();
$session->pushUserContext($url);
if (!empty($params['timeline_id']) && !empty($_POST['_qf_CaseView_next'])) {
if (!empty($params['timeline_id']) && $buttonName == '_qf_CaseView_next') {
civicrm_api3('Case', 'addtimeline', [
'case_id' => $this->_caseID,
'timeline' => $params['timeline_id'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment