--- rat/client/parameter.html 2015/01/23 19:41:19 1.64.2.2
+++ rat/client/parameter.html 2016/08/05 17:39:45 1.64.2.3
@@ -5,7 +5,7 @@
The LearningOnline Network with CAPA
Parameter Input Window
//
-// $Id: parameter.html,v 1.64.2.2 2015/01/23 19:41:19 raeburn Exp $
+// $Id: parameter.html,v 1.64.2.3 2016/08/05 17:39:45 raeburn Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -241,58 +241,66 @@ function month() {
function intminute() {
var thisminutes=cmins;
var i;
- choicewrite('';
+ return result;
}
function inthour() {
var thishours=chours;
var i;
- choicewrite('');
+ var result = '';
+ result += '';
for (i=0;i<=23;i++) {
- choicewrite('');
+ result += '>'+i+'';
}
- choicewrite('');
-}
+ result += '';
+ return result;
+}
function intsecond() {
var thisseconds=csecs;
var i;
- choicewrite('');
+ var result = '';
+ result += '';
for (i=0;i<=59;i++) {
- choicewrite('');
+ result += '>'+i+'';
}
- choicewrite('');
-}
+ result += '';
+ return result;
+}
function intday() {
var thisdate=cdays;
var i;
- choicewrite('');
+ var result ='';
+ result += '';
for (i=0;i<=31;i++) {
- choicewrite('');
+ result += '>'+i+'';
}
- choicewrite('');
+ result += '';
+ return result;
}
function intcalc() {
@@ -471,14 +479,17 @@ function draw() {
}
if (pscat=='interval') {
tablestart('Time interval');
- choicewrite('
');
- intervaldis();
- choicewrite(' |
Time:'
- +' | ');
- intday();choicewrite('days ');
- inthour();choicewrite('hours ');
- intminute(); choicewrite('mins '); intsecond();
- choicewrite('secs |
');
+ choicewrite( [
+ ''+intervaldis()+' |
',
+ 'Time: | ',
+ ''+intday()+' days ',
+ ''+inthour()+' hours',
+ ''+intminute()+' mins',
+ ''+intsecond()+' secs',
+ ' |
',
+ '',
+ '
',
+ ].join("\n"));
} else {
choicewrite(''
+cdate.toString()+
|