--- rat/client/parameter.html 2007/06/05 20:44:14 1.44
+++ rat/client/parameter.html 2007/06/13 01:01:33 1.45
@@ -3,7 +3,7 @@
The LearningOnline Network with CAPA
Parameter Input Window
//
-// $Id: parameter.html,v 1.44 2007/06/05 20:44:14 albertel Exp $
+// $Id: parameter.html,v 1.45 2007/06/13 01:01:33 albertel Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -840,11 +840,12 @@ function init() {
if (ptype=='string') {
//sopt('default','Default');
if (pscat == 'yesno') { sopt('yesno','Yes/No'); }
- if (pscat == 'examtype') { sopt('examtype','Exam Type'); }
- if (pscat == 'questiontype') { sopt('questiontype','Question Type'); }
- if (pscat == 'ip') { sopt('ip','IP Number/Name'); }
- if (pscat == 'fileext') { sopt('fileext','File Extension'); }
- if (pscat == 'useslots') { sopt('useslots','Slots control access'); }
+ else if (pscat == 'examtype') { sopt('examtype','Exam Type'); }
+ else if (pscat == 'questiontype') { sopt('questiontype','Question Type'); }
+ else if (pscat == 'ip') { sopt('ip','IP Number/Name'); }
+ else if (pscat == 'fileext') { sopt('fileext','File Extension'); }
+ else if (pscat == 'useslots') { sopt('useslots','Slots control access'); }
+ else { pscat = 'any'; }
sopt('any','String Value');
}