[Vtigercrm-commits] [vtiger-commits] r7306 - /vtigercrm/trunk/Smarty/templates/Popup.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 20 10:37:50 EDT 2006
Author: saraj
Date: Tue Jun 20 08:37:47 2006
New Revision: 7306
Log:
js function add_userdata_to_relatedlist has been 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 Tue Jun 20 08:37:47 2006
@@ -24,6 +24,10 @@
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}
+
+function add_userdata_to_relatedlist(userid,recordid) {ldelim}
+ opener.document.location.href="index.php?module={$RETURN_MODULE}&action=updateRelations&destination_module=Users&user_id="+userid+"&record="+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