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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Fri May 26 09:28:57 EDT 2006


Author: saraj
Date: Fri May 26 07:28:54 2006
New Revision: 6461

Log:
changes made to get validation for event/task

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 Fri May 26 07:28:54 2006
@@ -821,7 +821,7 @@
         for (var j=0; j<fieldname.length; j++)
 		{
 
-			if(getObj(fieldname[i]) != null)
+			if(getObj(fieldname[j]) != null)
 			{
 				if(fieldname[j] == "date_start")
 				{
@@ -867,8 +867,6 @@
                chktime.setDate(dd)
                chktime.setHours(hourval)
                chktime.setMinutes(minval)
-               //chkdate.setHours(hourval)
-               //chkdate.setMinutes(minval)
                 if (!compareDates(chkdate,datelabel,currdate,"Current date & time for Activities with status as Planned","GE")) {
                         getObj(datefield).focus()
                         return false





More information about the vtigercrm-commits mailing list