[LON-CAPA-cvs] cvs: loncom /homework grades.pm

bisitz bisitz@source.lon-capa.org
Wed, 18 Mar 2009 12:26:22 -0000


bisitz		Wed Mar 18 12:26:22 2009 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - XHTML: readonly
  - Use double quotes for HTML attributes
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.557 loncom/homework/grades.pm:1.558
--- loncom/homework/grades.pm:1.557	Mon Mar  9 21:24:12 2009
+++ loncom/homework/grades.pm	Wed Mar 18 12:26:21 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.557 2009/03/09 21:24:12 raeburn Exp $
+# $Id: grades.pm,v 1.558 2009/03/18 12:26:21 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6818,7 +6818,7 @@
        ".&mt("[_1]Select[_2] a CODE from the list of all CODEs and use it.",
 	     "<a target='_blank' href='$href'>","</a>")."
     </label> 
-    ".&mt("Selected CODE is [_1]","<input readonly='true' type='text' size='8' name='scantron_CODE_selectedvalue' onfocus=\"javascript:change_radio('use_found')\" onchange=\"javascript:change_radio('use_found')\" />"));
+    ".&mt("Selected CODE is [_1]",'<input readonly="readonly" type="text" size="8" name="scantron_CODE_selectedvalue" onfocus="javascript:change_radio(\'use_found\')" onchange="javascript:change_radio(\'use_found\')" />'));
 	    $r->print("\n<br />");
 	}
 	$r->print("