[Vtigercrm-commits] [vtiger-commits] r11128 - /vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue May 29 09:00:03 EDT 2007
Author: richie
Date: Tue May 29 06:59:58 2007
New Revision: 11128
Log:
fix for activity-quickcreate. --minnie
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl
Modified: vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/Header.tpl Tue May 29 06:59:58 2007
@@ -369,8 +369,9 @@
}
if(statusvalue == "Planned")
{
- var dateelements=splitDateVal(startdatevalue)
-
+ var dateelements=splitDateVal(startdatevalue)
+ var hourval=parseInt(timeval.substring(0,timeval.indexOf(":")))
+ var minval=parseInt(timeval.substring(timeval.indexOf(":")+1,timeval.length))
var dd=dateelements[0]
var mm=dateelements[1]
var yyyy=dateelements[2]
@@ -380,9 +381,10 @@
chkdate.setYear(yyyy)
chkdate.setMonth(mm-1)
chkdate.setDate(dd)
-
+
chktime = new Date()
-
+ chktime.setMinutes(minval)
+ chktime.setHours(hourval)
chktime.setYear(yyyy)
chktime.setMonth(mm-1)
chktime.setDate(dd)
More information about the vtigercrm-commits
mailing list