Skip to content
Snippets Groups Projects
Commit c654c119 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

fixes for CRM-13221

----------------------------------------
* CRM-13221: postProcess hook doesn't fire when creating an event
  http://issues.civicrm.org/jira/browse/CRM-13221
parent 88df3d9c
No related branches found
No related tags found
No related merge requests found
......@@ -351,8 +351,6 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form {
}
}
$this->postProcessHook();
if ($this->controller->getButtonName('submit') == "_qf_{$className}_upload_done") {
if ($this->_isTemplate) {
CRM_Utils_System::redirect(CRM_Utils_System::url('civicrm/admin/eventTemplate',
......
......@@ -338,6 +338,8 @@ class CRM_Event_Form_ManageEvent_EventInfo extends CRM_Event_Form_ManageEvent {
$this->set('id', $event->id);
$this->postProcessHook();
if ($this->_action & CRM_Core_Action::ADD) {
$url = 'civicrm/event/manage/location';
$urlParams = "action=update&reset=1&id={$event->id}";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment