[Vtigercrm-commits] [vtiger-commits] r7166 - /vtigercrm/trunk/Smarty/templates/Popup.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 16 03:58:40 EDT 2006


Author: saraj
Date: Fri Jun 16 01:58:36 2006
New Revision: 7166

Log:
js function add_leaddata_to_relatedlist included

Modified:
    vtigercrm/trunk/Smarty/templates/Popup.tpl

Modified: vtigercrm/trunk/Smarty/templates/Popup.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Popup.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Popup.tpl Fri Jun 16 01:58:36 2006
@@ -20,6 +20,10 @@
 function add_data_to_relatedlist(entity_id,recordid) {ldelim}
 
         opener.document.location.href="index.php?module={$RETURN_MODULE}&action=updateRelations&destination_module=Contacts&entityid="+entity_id+"&parid="+recordid;
+{rdelim}
+
+function add_leaddata_to_relatedlist(entity_id,recordid) {ldelim}
+        opener.document.location.href="index.php?module={$RETURN_MODULE}&action=updateRelations&destination_module=Leads&entityid="+entity_id+"&parid="+recordid;
 {rdelim}
 </script>
 <body class="small" marginwidth=0 marginheight=0 leftmargin=0 topmargin=0 bottommargin=0 rigthmargin=0>





More information about the vtigercrm-commits mailing list