From 29da87703237f39efae4f3c02f00b65ecfe69b2e Mon Sep 17 00:00:00 2001 From: Jagadedes Date: Fri, 24 Oct 2014 10:24:37 +0530 Subject: [PATCH] #30641 fixed save to show lising page --- CRM/Wci/Form/CreateWidget.php | 2 +- CRM/Wci/Form/ProgressBar.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Wci/Form/CreateWidget.php b/CRM/Wci/Form/CreateWidget.php index cdb62d8..5bbfe45 100644 --- a/CRM/Wci/Form/CreateWidget.php +++ b/CRM/Wci/Form/CreateWidget.php @@ -271,7 +271,7 @@ where w.id=" . $this->_id; $widget_id = CRM_Core_DAO::singleValueQuery('SELECT LAST_INSERT_ID()'); CRM_Utils_System::redirect('?action=update&reset=1&id=' . $widget_id); } else { - CRM_Utils_System::redirect('./?reset=1'); + CRM_Utils_System::redirect('widget?reset=1');#CRM_Utils_System::redirect('./?reset=1'); } } catch (Exception $e) { diff --git a/CRM/Wci/Form/ProgressBar.php b/CRM/Wci/Form/ProgressBar.php index 29501d3..19fd5b1 100644 --- a/CRM/Wci/Form/ProgressBar.php +++ b/CRM/Wci/Form/ProgressBar.php @@ -171,7 +171,7 @@ class CRM_Wci_Form_ProgressBar extends CRM_Core_Form { CRM_Core_DAO::executeQuery($sql); endfor; $transaction->commit(); - CRM_Utils_System::redirect('civicrm/wci/progress-bar?reset=1'); + CRM_Utils_System::redirect('progress-bar?reset=1'); } catch (Exception $e) { //TODO -- 2.25.1