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

raeburn raeburn at source.lon-capa.org
Thu Jun 18 18:31:29 EDT 2026


raeburn		Thu Jun 18 22:31:29 2026 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - Support pasting of CODE chosen in pickcode tab spawned by "Select" link
    into textbox in opener tab.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.831 loncom/homework/grades.pm:1.832
--- loncom/homework/grades.pm:1.831	Mon May  4 21:29:30 2026
+++ loncom/homework/grades.pm	Thu Jun 18 22:31:29 2026
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.831 2026/05/04 21:29:30 raeburn Exp $
+# $Id: grades.pm,v 1.832 2026/06/18 22:31:29 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -10012,7 +10012,7 @@
     <label>
        <input type='radio' name='scantron_CODE_resolution' value='use_found' />
        ".&mt("[_1]Select[_2] a CODE from the list of all CODEs and use it.",
-	     "<a target='_blank' href='$href'>","</a>")."
+	     "<a target='_blank' href='$href' rel='opener'>","</a>")."
     </label> 
     ".&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 />");




More information about the LON-CAPA-cvs mailing list