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

raeburn raeburn at source.lon-capa.org
Fri Oct 30 07:21:19 EDT 2015


raeburn		Fri Oct 30 11:21:19 2015 EDT

  Modified files:              
    /loncom/homework	inputtags.pm 
  Log:
  - Bug 6802.
    Include partID and responseID in id attribute to better ensure uniqueness.
  
  
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.338 loncom/homework/inputtags.pm:1.339
--- loncom/homework/inputtags.pm:1.338	Fri Oct 30 03:49:47 2015
+++ loncom/homework/inputtags.pm	Fri Oct 30 11:21:19 2015
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # input  definitons
 #
-# $Id: inputtags.pm,v 1.338 2015/10/30 03:49:47 raeburn Exp $
+# $Id: inputtags.pm,v 1.339 2015/10/30 11:21:19 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -460,7 +460,7 @@
 		}
 		my $name = 'HWVAL_'.$id;
                 my $itemid = 'HWVAL_'.$partid.'_'.$id;
-                my $input_tag_id = 'HWVAL_'.$input_id;
+                my $input_tag_id = $itemid.'_'.$input_id;
 		if ($Apache::inputtags::status[-1] eq 'CANNOT_ANSWER') {
 		    $name = "none";
 		}




More information about the LON-CAPA-cvs mailing list