--- loncom/homework/edit.pm	2003/05/09 22:10:12	1.50
+++ loncom/homework/edit.pm	2003/05/10 23:04:58	1.51
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # edit mode helpers
 #
-# $Id: edit.pm,v 1.50 2003/05/09 22:10:12 albertel Exp $
+# $Id: edit.pm,v 1.51 2003/05/10 23:04:58 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -627,7 +627,7 @@ sub entercoordpair {
 	$formwidth='&formwidth='.$width.'_'.$Apache::edit::bgimgsrccurdepth;
     }
     my $result = <<"ENDBUTTON";
-<a href="/cgi-bin/imagechoice.pl?mode=pair&formname=$form&file=$bgfile$formheight$formwidth"
+<a href="/cgi-bin/imagechoice.pl?mode=pair&formname=$form&file=$bgfile$formheight$formwidth&formcoord=$element"
 target="imagechoice">Click Coordinate Pair</a>
 ENDBUTTON
     return $result;