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:
fd88262
)
--HR-351 -New Case cancel button redirection to case dashboard.
author
Poonam
<poonam@poonam.(none)>
Fri, 27 Jun 2014 10:42:26 +0000
(16:12 +0530)
committer
Poonam
<poonam@poonam.(none)>
Fri, 27 Jun 2014 10:42:26 +0000
(16:12 +0530)
CRM/Case/Form/Activity/OpenCase.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Case/Form/Activity/OpenCase.php
b/CRM/Case/Form/Activity/OpenCase.php
index 2fe9f3092773fc74f065e1dfb455442c44bf47fc..a950220b0c191080ce904cbc96d4be6ec995ebea 100644
(file)
--- 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'));
}
/**