--- rat/client/parameter.html 2011/12/08 21:37:51 1.63 +++ rat/client/parameter.html 2015/01/23 19:41:19 1.64.2.2 @@ -5,7 +5,7 @@ The LearningOnline Network with CAPA Parameter Input Window // -// $Id: parameter.html,v 1.63 2011/12/08 21:37:51 www Exp $ +// $Id: parameter.html,v 1.64.2.2 2015/01/23 19:41:19 raeburn Exp $ // // Copyright Michigan State University Board of Trustees // @@ -342,9 +342,7 @@ function radiostringeval(newval) { } function callradiostringeval(newval) { - return 'onchange="parent.radiostringeval(\'' - +newval+'\')" onclick="parent.radiostringeval(\'' - +newval+'\')"'; + return 'onclick="parent.radiostringeval(\''+newval+'\')"'; } function intervaldis() { @@ -681,6 +679,22 @@ function draw() { if (svalue=='default') { choicewrite(' checked="checked"'); } choicewrite(' /> Default (only bubblesheet grading is lenient)
'); } + if (pscat=='discussvote') { + tablestart('Discussion Voting'); + choicewrite('Value:'); + choicewrite('
'); + choicewrite('
'); + choicewrite('
'); + } if (pscat=='ip') { tablestart('IP Number/Name'); choicewrite('Value:'); @@ -884,7 +898,7 @@ function init() { selwrite(''); selwrite(''); selwrite('
'+pname+'
'); - selwrite(''); if (ptype=='tolerance') { sopt('default','Default'); @@ -949,6 +963,7 @@ function init() { else if (pscat == 'examtype') { sopt('examtype','Exam Type'); } else if (pscat == 'questiontype') { sopt('questiontype','Question Type'); } else if (pscat == 'lenient') { sopt('lenient','Lenient Grading (Partial Credit)'); } + else if (pscat == 'discussvote') { sopt('discussvote','Discussion Voting'); } 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'); }