--- rat/client/parameter.html 2001/03/23 19:16:13 1.8
+++ rat/client/parameter.html 2001/08/08 13:31:43 1.11
@@ -3,7 +3,8 @@
The LearningOnline Network with CAPA
Parameter Input Window
06/16/00,06/17,11/17,11/18,11/23,11/27,11/28,12/15,12/16,
-03/21/01,03/24 Gerd Kortemeyer
+03/21/01,03/24,06/26 Gerd Kortemeyer
+07/24/01 Scott Harrison
-->
LON-CAPA
@@ -247,6 +248,13 @@ function integereval() {
if ((pscat=='pos') && (svalue==0)) {
svalue='';
}
+ if (pscat.indexOf('range')!=-1) {
+ var rangeparts=new Array;
+ rangeparts=split('_',pscat);
+ rangeparts=split('...',rangeparts[1]);
+ if (svaluerangeparts[1]) { svalue=rangeparts[1]; }
+ }
draw();
}
@@ -391,6 +399,11 @@ choicewrite('');
@@ -514,7 +530,7 @@ function init() {
sopt('end','Ending Date');
sopt('interval','Time Interval');
- if ((pvalue!='') && (pvalue!=undefined)) {
+ if ((pvalue!='') && (typeof(pvalue)!="undefined")) {
cdate.setTime(pvalue*1000);
}
@@ -536,6 +552,7 @@ function init() {
sopt('default','Default');
sopt('pos','Positive Integer, Not Zero');
sopt('zeropos','Positive Integer or Zero');
+ sopt('range','Integer Range');
sopt('any','Integer');
}
|