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

albertel lon-capa-cvs@mail.lon-capa.org
Sat, 13 Nov 2004 16:28:21 -0000


albertel		Sat Nov 13 11:28:21 2004 EDT

  Modified files:              
    /loncom/homework	imageresponse.pm 
  Log:
  - BUG#3589
  
  
Index: loncom/homework/imageresponse.pm
diff -u loncom/homework/imageresponse.pm:1.56 loncom/homework/imageresponse.pm:1.57
--- loncom/homework/imageresponse.pm:1.56	Thu Oct 21 02:37:36 2004
+++ loncom/homework/imageresponse.pm	Sat Nov 13 11:28:21 2004
@@ -1,8 +1,7 @@
-
 # The LearningOnline Network with CAPA
 # image click response style
 #
-# $Id: imageresponse.pm,v 1.56 2004/10/21 06:37:36 albertel Exp $
+# $Id: imageresponse.pm,v 1.57 2004/11/13 16:28:21 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -131,19 +130,19 @@
 
 	$x{"cgi.$id.OBJTYPE"}.='LINE:';
 	$i=$x{"cgi.$id.OBJCOUNT"}++;
-	$x{"cgi.$id.OBJ$i"}=join(':',(($xmin),($ymin),($xmax),($ymax),
+	$x{"cgi.$id.OBJ$i"}=join(':',(($x),($ymin),($x),($ymax),
 				      "FFFFFF",($width+$extrawidth)));
 	$x{"cgi.$id.OBJTYPE"}.='LINE:';
 	$i=$x{"cgi.$id.OBJCOUNT"}++;
-	$x{"cgi.$id.OBJ$i"}=join(':',(($xmin),($ymax),($xmax),($ymin),
+	$x{"cgi.$id.OBJ$i"}=join(':',(($xmin),($y),($xmax),($y),
 				      "FFFFFF",($width+$extrawidth)));
 	$x{"cgi.$id.OBJTYPE"}.='LINE:';
 	$i=$x{"cgi.$id.OBJCOUNT"}++;
-	$x{"cgi.$id.OBJ$i"}=join(':',(($xmin),($ymin),($xmax),($ymax),
+	$x{"cgi.$id.OBJ$i"}=join(':',(($x),($ymin),($x),($ymax),
 				      "FF0000",($width)));
 	$x{"cgi.$id.OBJTYPE"}.='LINE:';
 	$i=$x{"cgi.$id.OBJCOUNT"}++;
-	$x{"cgi.$id.OBJ$i"}=join(':',(($xmin),($ymax),($xmax),($ymin),
+	$x{"cgi.$id.OBJ$i"}=join(':',(($xmin),($y),($xmax),($y),
 				      "FF0000",($width)));
     }
     if ($mode eq 'answer') {