From: Poonam Date: Fri, 27 Jun 2014 10:42:26 +0000 (+0530) Subject: --HR-351 -New Case cancel button redirection to case dashboard. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=227cad77e8f244c1fe8f6e0c8b634a40714d7ee5;p=civicrm-core.git --HR-351 -New Case cancel button redirection to case dashboard. --- 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')); } /**