--- loncom/homework/imageresponse.pm 2007/09/25 23:45:33 1.86
+++ loncom/homework/imageresponse.pm 2007/09/25 23:47:59 1.87
@@ -2,7 +2,7 @@
# The LearningOnline Network with CAPA
# image click response style
#
-# $Id: imageresponse.pm,v 1.86 2007/09/25 23:45:33 albertel Exp $
+# $Id: imageresponse.pm,v 1.87 2007/09/25 23:47:59 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -237,14 +237,15 @@ sub displayfoils {
} else {
my $respid=$Apache::inputtags::response['-1'];
my $token=&prep_image($image,'submission',$name);
- my $id = "HWVAL_$respid:$temp";
+ my $input_id = "HWVAL_$respid:$temp";
+ my $id = $env{'form.request.prefix'}.$input_id;
$result.=''.
'
'.
- ''.
- ''.
+ '';
}
}