--- rat/client/parameter.html 2007/10/17 00:27:19 1.47
+++ rat/client/parameter.html 2007/11/02 21:20:19 1.48
@@ -3,7 +3,7 @@
The LearningOnline Network with CAPA
Parameter Input Window
//
-// $Id: parameter.html,v 1.47 2007/10/17 00:27:19 albertel Exp $
+// $Id: parameter.html,v 1.48 2007/11/02 21:20:19 albertel Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -817,11 +817,14 @@ function init() {
}
if (ptype=='date') {
- sopt('default','Default');
- sopt('start','Starting Date');
- sopt('end','Ending Date');
- sopt('interval','Time Interval');
-
+ if (pscat != 'interval') {
+ sopt('default','Default');
+ sopt('start','Starting Date');
+ sopt('end','Ending Date');
+ } else {
+ sopt('interval','Time Interval');
+ }
+
if ((pvalue!='') && (typeof(pvalue)!="undefined")) {
cdate.setTime(pvalue*1000);
} else {