#30641 fixed save to show lising page
authorJagadedes <jagadees.pillai@zyxware.com>
Fri, 24 Oct 2014 04:54:37 +0000 (10:24 +0530)
committerJagadedes <jagadees.pillai@zyxware.com>
Fri, 24 Oct 2014 04:54:37 +0000 (10:24 +0530)
CRM/Wci/Form/CreateWidget.php
CRM/Wci/Form/ProgressBar.php

index cdb62d82b20b53f9986ec24f39d2baf9f76366d0..5bbfe458a9fce8d32227153b5ffb2cd699e36603 100644 (file)
@@ -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) {
index 29501d33dd8453805eb62eff068c0ccd219e754d..19fd5b197bd1c1070b8a2d37b5d46cb097fec68d 100644 (file)
@@ -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