[Vtigercrm-commits] [vtiger-commits] r4979 - /vtigercrm/trunk/modules/Quotes/Save.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Apr 7 03:52:07 EDT 2006
Author: saraj
Date: Fri Apr 7 01:52:02 2006
New Revision: 4979
Log:
Added the parentab redirection for Quote module
Modified:
vtigercrm/trunk/modules/Quotes/Save.php
Modified: vtigercrm/trunk/modules/Quotes/Save.php
==============================================================================
--- vtigercrm/trunk/modules/Quotes/Save.php (original)
+++ vtigercrm/trunk/modules/Quotes/Save.php Fri Apr 7 01:52:02 2006
@@ -84,6 +84,7 @@
$return_id = $focus->id;
+if(isset($_REQUEST['parenttab']) && $_REQUEST['parenttab'] != "") $parenttab = $_REQUEST['parenttab'];
if(isset($_REQUEST['return_module']) && $_REQUEST['return_module'] != "") $return_module = $_REQUEST['return_module'];
else $return_module = "Quotes";
if(isset($_REQUEST['return_action']) && $_REQUEST['return_action'] != "") $return_action = $_REQUEST['return_action'];
@@ -96,6 +97,6 @@
if($_REQUEST['return_viewname'] == '') $return_viewname='0';
if($_REQUEST['return_viewname'] != '')$return_viewname=$_REQUEST['return_viewname'];
-header("Location: index.php?action=$return_action&module=$return_module&record=$return_id&viewname=$return_viewname");
+header("Location: index.php?action=$return_action&module=$return_module&parenttab=$parenttab&record=$return_id&viewname=$return_viewname");
?>
More information about the vtigercrm-commits
mailing list