--- rat/client/parameter.html 2005/06/20 19:52:51 1.32
+++ rat/client/parameter.html 2007/02/24 02:04:20 1.42
@@ -3,7 +3,7 @@
The LearningOnline Network with CAPA
Parameter Input Window
//
-// $Id: parameter.html,v 1.32 2005/06/20 19:52:51 albertel Exp $
+// $Id: parameter.html,v 1.42 2007/02/24 02:04:20 albertel Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -176,6 +176,7 @@ function year() {
var thisyear=cdate.getFullYear();
var nowdate=new Date();
var nowyear=nowdate.getFullYear();
+ if ( !thisyear ) { thisyear=nowyear; }
var loweryear=thisyear-2;
var upperyear=thisyear+5;
if (thisyear>nowyear) { loweryear=nowyear-2; }
@@ -528,11 +529,8 @@ function draw() {
}
if (ptype=='string') {
- if (pscat=='default') {
- tablestart('Default value or none');
- choicewrite('');
- } else {
- if ((pscat=='any') || (pscat=='') || (typeof(pscat)=='undefined')) {
+ if ((pscat=='any') || (pscat=='') || (pscat=='default') ||
+ (typeof(pscat)=='undefined')) {
tablestart('Text');
choicewrite('
Value: | ');
choicewrite(' Standard Problem ');
- choicewrite(' ');
+// choicewrite(' ');
+ choicewrite(' ');
choicewrite(' ');
- choicewrite(' ');
+// choicewrite(' ');
choicewrite(' ');
- choicewrite(' ');
+// choicewrite(' ');
choicewrite(' |