--- rat/client/parameter.html 2001/07/25 03:10:15 1.9
+++ rat/client/parameter.html 2001/08/08 13:24:52 1.10
@@ -3,8 +3,7 @@
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
-07/24/01 Scott Harrison
+03/21/01,03/24,06/26 Gerd Kortemeyer
-->
LON-CAPA
@@ -248,6 +247,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();
}
@@ -392,6 +398,11 @@ choicewrite('');
@@ -515,7 +526,7 @@ function init() {
sopt('end','Ending Date');
sopt('interval','Time Interval');
- if ((pvalue!='') && (typeof(pvalue)!="undefined")) {
+ if ((pvalue!='') && (pvalue!=undefined)) {
cdate.setTime(pvalue*1000);
}
@@ -537,6 +548,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');
}
|