--- loncom/homework/imagechoice.pm 2004/09/09 20:35:10 1.6
+++ loncom/homework/imagechoice.pm 2005/08/25 19:33:14 1.9
@@ -1,4 +1,4 @@
-# $Id: imagechoice.pm,v 1.6 2004/09/09 20:35:10 albertel Exp $
+# $Id: imagechoice.pm,v 1.9 2005/08/25 19:33:14 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -25,7 +25,7 @@
package Apache::imagechoice;
use strict;
use Apache::Constants qw(:common :http);
-
+use Apache::lonnet;
sub deletedata {
my ($id)=@_;
@@ -33,7 +33,7 @@ sub deletedata {
}
sub closewindow {
- my ($r,$output,$filename,$needimage)=@_;
+ my ($r,$output,$filename,$needimage,$display)=@_;
if ($needimage) {
$needimage="";
}
@@ -47,6 +47,7 @@ sub closewindow {