From: Jagadedes Date: Fri, 24 Oct 2014 04:54:37 +0000 (+0530) Subject: #30641 fixed save to show lising page X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=29da87703237f39efae4f3c02f00b65ecfe69b2e;p=com.zyxware.civiwci.git #30641 fixed save to show lising page --- 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