[Vtigercrm-commits] [vtiger-commits] r4318 - /vtigercrm/trunk/include/js/general.js

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Mar 20 04:00:49 EST 2006


Author: saraj
Date: Mon Mar 20 02:00:43 2006
New Revision: 4318

Log:
changes made for advance search

Modified:
    vtigercrm/trunk/include/js/general.js

Modified: vtigercrm/trunk/include/js/general.js
==============================================================================
--- vtigercrm/trunk/include/js/general.js (original)
+++ vtigercrm/trunk/include/js/general.js Mon Mar 20 02:00:43 2006
@@ -1235,7 +1235,6 @@
 
     var colthree = row.insertCell(2);
 
-    //colone.innerHTML="<select name='Fields'+count class='detailedViewTextBox'><option>First Name</option><option>Last Name</option><option>Department</option><option>Role</option><option>E-Mild Id</option></select>";
     colone.innerHTML="<select name='Fields"+count+"' class='detailedViewTextBox'>"+option_values+"</select>";
 
     coltwo.innerHTML="<select name='Condition"+count+"' class='detailedViewTextBox'>"+criteria_values+"</select> ";
@@ -1246,7 +1245,8 @@
 
 function totalnoofrows()
 {
-        document.basicSearch.search_cnt.value = count;
+	var tableName = document.getElementById('adSrc');
+	document.basicSearch.search_cnt.value = tableName.rows.length;
 }
 
 /*





More information about the vtigercrm-commits mailing list