[LON-CAPA-cvs] cvs: rat / lonpage.pm
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Wed, 26 Sep 2007 00:32:55 -0000
albertel Tue Sep 25 20:32:55 2007 EDT
Modified files:
/rat lonpage.pm
Log:
- BUG#5442 - direct file submission to a file based essayresponse failed to work in a .page
Index: rat/lonpage.pm
diff -u rat/lonpage.pm:1.85 rat/lonpage.pm:1.86
--- rat/lonpage.pm:1.85 Tue Sep 25 19:47:54 2007
+++ rat/lonpage.pm Tue Sep 25 20:32:55 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Page Handler
#
-# $Id: lonpage.pm,v 1.85 2007/09/25 23:47:54 albertel Exp $
+# $Id: lonpage.pm,v 1.86 2007/09/26 00:32:55 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -389,7 +389,7 @@
'bgcolor' => '#ffffff',}));
# ------------------------------------------------------------------ Start form
if ($nforms) {
- $r->print('<form name="lonhomework" method="post" action="'.
+ $r->print('<form name="lonhomework" method="post" enctype="multipart/form-data" action="'.
&Apache::lonenc::check_encrypt($requrl)
.'">');
}