[Vtigercrm-commits] [vtiger-commits] r7172 - /vtigercrm/trunk/include/utils/ListViewUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri Jun 16 04:10:30 EDT 2006
Author: saraj
Date: Fri Jun 16 02:10:27 2006
New Revision: 7172
Log:
changes made for leads popup
Modified:
vtigercrm/trunk/include/utils/ListViewUtils.php
Modified: vtigercrm/trunk/include/utils/ListViewUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/ListViewUtils.php (original)
+++ vtigercrm/trunk/include/utils/ListViewUtils.php Fri Jun 16 02:10:27 2006
@@ -1282,10 +1282,15 @@
{
if($colname == "lastname" && $module == 'Contacts')
$firstname=$adb->query_result($list_result,$list_result_count,'firstname');
+ elseif($colname == "lastname" && $module == 'Leads')
+ $firstname=$adb->query_result($list_result,$list_result_count,'firstname');
$temp_val =$temp_val.' '.$firstname;
$focus->record_id = $_REQUEST['recordid'];
- $value = '<a href="a" LANGUAGE=javascript onclick=\'add_data_to_relatedlist("'.$entity_id.'","'.$focus->record_id.'"); window.close()\'>'.$temp_val.'</a>';
+ if($module == 'Leads')
+ $value = '<a href="a" LANGUAGE=javascript onclick=\'add_leaddata_to_relatedlist("'.$entity_id.'","'.$focus->record_id.'"); window.close()\'>'.$temp_val.'</a>';
+ else
+ $value = '<a href="a" LANGUAGE=javascript onclick=\'add_data_to_relatedlist("'.$entity_id.'","'.$focus->record_id.'"); window.close()\'>'.$temp_val.'</a>';
}
elseif($popuptype == "formname_specific")
{
More information about the vtigercrm-commits
mailing list