[LON-CAPA-cvs] cvs: rat /client parameter.html

www lon-capa-cvs@mail.lon-capa.org
Tue, 25 Nov 2003 22:19:22 -0000


www		Tue Nov 25 17:19:22 2003 EDT

  Modified files:              
    /rat/client	parameter.html 
  Log:
  Cannot have both a text field and a bunch of radiobuttons share the same name
  
  
Index: rat/client/parameter.html
diff -u rat/client/parameter.html:1.26 rat/client/parameter.html:1.27
--- rat/client/parameter.html:1.26	Thu Jul 10 06:29:00 2003
+++ rat/client/parameter.html	Tue Nov 25 17:19:22 2003
@@ -3,7 +3,7 @@
 The LearningOnline Network with CAPA
 Parameter Input Window
 //
-// $Id: parameter.html,v 1.26 2003/07/10 10:29:00 www Exp $
+// $Id: parameter.html,v 1.27 2003/11/25 22:19:22 www Exp $
 //
 // Copyright Michigan State University Board of Trustees
 //
@@ -596,15 +596,15 @@
         if (pscat=='fileext') {
             tablestart('Allowed File Extensions');
 	   choicewrite('<tr bgcolor="#AAFFAA"><td>Value:</td><td colspan=2>');
-           choicewrite('<input name="stringval" value="txt"'+
+           choicewrite('<input name="radstringval" value="txt"'+
                ' type="radio" onChange="parent.radiostringeval(\'txt\')"');
            if (svalue=='txt') { choicewrite(' checked'); }
            choicewrite('> Plain Text<br />');
-           choicewrite('<input name="stringval" value="png,jpg,jpeg,gif"'+
+           choicewrite('<input name="radstringval" value="png,jpg,jpeg,gif"'+
                ' type="radio" onChange="parent.radiostringeval(\'png,jpg,jpeg,gif\')"');
            if (svalue=='png,jpg,jpeg,gif') { choicewrite(' checked'); }
            choicewrite('> Picture File<br />');
-           choicewrite('<input name="stringval" value="doc,xls,ppt"'+
+           choicewrite('<input name="radstringval" value="doc,xls,ppt"'+
                ' type="radio" onChange="parent.radiostringeval(\'doc,xls,ppt\')"');
            if (svalue=='doc,xls,ppt') { choicewrite(' checked'); }
            choicewrite('> Office Document<br />');