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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 12 Aug 2004 04:33:22 -0000


albertel		Thu Aug 12 00:33:22 2004 EDT

  Modified files:              
    /loncom/homework	chemresponse.pm 
  Log:
  - BUG#2713 <organicstructure> was ignoring the texwidth paramaeter
  
  
Index: loncom/homework/chemresponse.pm
diff -u loncom/homework/chemresponse.pm:1.37 loncom/homework/chemresponse.pm:1.38
--- loncom/homework/chemresponse.pm:1.37	Tue Aug 10 14:05:12 2004
+++ loncom/homework/chemresponse.pm	Thu Aug 12 00:33:22 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # chemical equation style response
 #
-# $Id: chemresponse.pm,v 1.37 2004/08/10 18:05:12 albertel Exp $
+# $Id: chemresponse.pm,v 1.38 2004/08/12 04:33:22 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -245,7 +245,7 @@
 	    'cgi.'.$id.'.PNG' => 1,
 	    'cgi.'.$id.'.WIDTH' => $width );
     } elsif ($target eq 'tex') {
-	my $texwidth=&Apache::lonxml::get_param('texwidth',$parstack,$safeeval,1);
+	my $texwidth=&Apache::lonxml::get_param('texwidth',$parstack,$safeeval,undef,1);
 	if (!$texwidth) { $texwidth='90'; }
 	my $molecule=&Apache::lonxml::get_param('molecule',$parstack,$safeeval);
 	my $options=&Apache::lonxml::get_param('options',$parstack,$safeeval);