[LON-CAPA-cvs] cvs: rat /client parameter.html
www
lon-capa-cvs@mail.lon-capa.org
Mon, 06 Jun 2005 16:06:28 -0000
www Mon Jun 6 12:06:28 2005 EDT
Modified files:
/rat/client parameter.html
Log:
Having default minutes and seconds did not make much sense
Index: rat/client/parameter.html
diff -u rat/client/parameter.html:1.29 rat/client/parameter.html:1.30
--- rat/client/parameter.html:1.29 Wed Nov 10 15:32:19 2004
+++ rat/client/parameter.html Mon Jun 6 12:06:25 2005
@@ -3,7 +3,7 @@
The LearningOnline Network with CAPA
Parameter Input Window
//
-// $Id: parameter.html,v 1.29 2004/11/10 20:32:19 www Exp $
+// $Id: parameter.html,v 1.30 2005/06/06 16:06:25 www Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -770,6 +770,9 @@
if ((pvalue!='') && (typeof(pvalue)!="undefined")) {
cdate.setTime(pvalue*1000);
+ } else {
+ cdate.setSeconds(0);
+ cdate.setMinutes(0);
}
months[0]='January';