From 227cad77e8f244c1fe8f6e0c8b634a40714d7ee5 Mon Sep 17 00:00:00 2001 From: Poonam Date: Fri, 27 Jun 2014 16:12:26 +0530 Subject: [PATCH] --HR-351 -New Case cancel button redirection to case dashboard. --- CRM/Case/Form/Activity/OpenCase.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Case/Form/Activity/OpenCase.php b/CRM/Case/Form/Activity/OpenCase.php index 2fe9f30927..a950220b0c 100644 --- a/CRM/Case/Form/Activity/OpenCase.php +++ b/CRM/Case/Form/Activity/OpenCase.php @@ -84,6 +84,8 @@ class CRM_Case_Form_Activity_OpenCase { // Add attachments CRM_Core_BAO_File::buildAttachment( $form, 'civicrm_activity', $form->_activityId ); + $session = CRM_Core_Session::singleton(); + $session->pushUserContext(CRM_Utils_System::url('civicrm/case', 'reset=1')); } /** -- 2.25.1