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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 19 Aug 2004 21:01:55 -0000


albertel		Thu Aug 19 17:01:55 2004 EDT

  Modified files:              
    /loncom/homework	edit.pm 
  Log:
  - formularesponse doesn't really work without a default tolerance, force one in by default on insertion
  
  
Index: loncom/homework/edit.pm
diff -u loncom/homework/edit.pm:1.85 loncom/homework/edit.pm:1.86
--- loncom/homework/edit.pm:1.85	Tue Jul 27 19:35:33 2004
+++ loncom/homework/edit.pm	Thu Aug 19 17:01:54 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # edit mode helpers
 #
-# $Id: edit.pm,v 1.85 2004/07/27 23:35:33 www Exp $
+# $Id: edit.pm,v 1.86 2004/08/19 21:01:54 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -285,7 +285,8 @@
 sub insert_formularesponse {
     return '
 <formularesponse answer="" samples="">
-    <textline />
+    <responseparam description="Numerical Tolerance" type="tolerance" default="0.00001" name="tol" />
+    <textline size="25"/>
     <hintgroup>
     <startouttext /><endouttext />
     </hintgroup>