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

www www@source.lon-capa.org
Wed, 24 Nov 2010 00:10:06 -0000


www		Wed Nov 24 00:10:06 2010 EDT

  Modified files:              
    /loncom/homework	response.pm 
  Log:
  Need more room for good answers
  
  
Index: loncom/homework/response.pm
diff -u loncom/homework/response.pm:1.219 loncom/homework/response.pm:1.220
--- loncom/homework/response.pm:1.219	Thu Oct 14 19:54:56 2010
+++ loncom/homework/response.pm	Wed Nov 24 00:10:06 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # various response type definitons response definition
 #
-# $Id: response.pm,v 1.219 2010/10/14 19:54:56 raeburn Exp $
+# $Id: response.pm,v 1.220 2010/11/24 00:10:06 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -410,7 +410,7 @@
     } elsif ($target eq 'edit') {
 	$result.=&Apache::edit::tag_start($target,$token);
 	$result.=&Apache::edit::text_arg('String to display for answer:',
-					 'answerdisplay',$token);
+					 'answerdisplay',$token,'50');
 	$result.=&Apache::edit::end_row().&Apache::edit::start_spanning_row();
     } elsif ($target eq 'modified') {
 	my $constructtag;
@@ -520,7 +520,7 @@
     } elsif ($target eq 'edit') {
 	$result.=&Apache::edit::tag_start($target,$token);
 	$result.=&Apache::edit::text_arg('String to display for answer:',
-					 'answerdisplay',$token);
+					 'answerdisplay',$token,'50');
 	$result.=&Apache::edit::select_arg('Algebra System:',
 					   'cas',
 					   ['maxima','R'],