[Vtigercrm-commits] [vtiger-commits] r9421 - in /vtigercrm/trunk/modules/Campaigns: CallRelatedList.php DetailView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Sep 11 11:27:30 EDT 2006


Author: richie
Date: Mon Sep 11 09:27:23 2006
New Revision: 9421

Log:
Fixed the Select One Issue in Campaign Related List

Modified:
    vtigercrm/trunk/modules/Campaigns/CallRelatedList.php
    vtigercrm/trunk/modules/Campaigns/DetailView.php

Modified: vtigercrm/trunk/modules/Campaigns/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Campaigns/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Campaigns/CallRelatedList.php Mon Sep 11 09:27:23 2006
@@ -51,11 +51,11 @@
 
 $cvObj = new CustomView("Contacts");
 $cvcombo = $cvObj->getCustomViewCombo();
-$smarty->assign("CONTCVCOMBO","<select id='cont_cv_list' onchange='loadCvList(\"Contacts\",".$_REQUEST["record"].");'><option>-- ".$mod_strings['Select One']." --</option>".$cvcombo."</select>");
+$smarty->assign("CONTCVCOMBO","<select id='cont_cv_list' onchange='loadCvList(\"Contacts\",".$_REQUEST["record"].");'><option value='None'>-- ".$mod_strings['Select One']." --</option>".$cvcombo."</select>");
 
 $cvObj = new CustomView("Leads");
 $cvcombo = $cvObj->getCustomViewCombo();
-$smarty->assign("LEADCVCOMBO","<select id='lead_cv_list' onchange='loadCvList(\"Leads\",".$_REQUEST["record"].");'> <option>-- ".$mod_strings['Select One']." --</option>".$cvcombo."</select>");
+$smarty->assign("LEADCVCOMBO","<select id='lead_cv_list' onchange='loadCvList(\"Leads\",".$_REQUEST["record"].");'> <option value='None'>-- ".$mod_strings['Select One']." --</option>".$cvcombo."</select>");
 
 $category = getParentTab();
 $smarty->assign("CATEGORY",$category);

Modified: vtigercrm/trunk/modules/Campaigns/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Campaigns/DetailView.php (original)
+++ vtigercrm/trunk/modules/Campaigns/DetailView.php Mon Sep 11 09:27:23 2006
@@ -77,11 +77,11 @@
 	$smarty->assign("RELATEDLISTS", $related_array);
 	$cvObj = new CustomView("Contacts");
 	$cvcombo = $cvObj->getCustomViewCombo();
-	$smarty->assign("CONTCVCOMBO","<select id='cont_cv_list' onchange='loadCvList(\"Contacts\",".$_REQUEST["record"].");'><option>-- ".$mod_strings['Select One']." --</option>".$cvcombo."</select>");
+	$smarty->assign("CONTCVCOMBO","<select id='cont_cv_list' onchange='loadCvList(\"Contacts\",".$_REQUEST["record"].");'><option value='None'>-- ".$mod_strings['Select One']." --</option>".$cvcombo."</select>");
 
 	$cvObj = new CustomView("Leads");
 	$cvcombo = $cvObj->getCustomViewCombo();
-	$smarty->assign("LEADCVCOMBO","<select id='lead_cv_list' onchange='loadCvList(\"Leads\",".$_REQUEST["record"].");'> <option>-- ".$mod_strings['Select One']." --</option>".$cvcombo."</select>");
+	$smarty->assign("LEADCVCOMBO","<select id='lead_cv_list' onchange='loadCvList(\"Leads\",".$_REQUEST["record"].");'> <option value='None'>-- ".$mod_strings['Select One']." --</option>".$cvcombo."</select>");
 }
 
 $smarty->assign("SinglePane_View", $singlepane_view);





More information about the vtigercrm-commits mailing list