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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 27 Aug 2004 21:47:34 -0000


albertel		Fri Aug 27 17:47:34 2004 EDT

  Modified files:              
    /loncom/homework	radiobuttonresponse.pm 
  Log:
  - removing the <br/> in horizontal mode
  
  
Index: loncom/homework/radiobuttonresponse.pm
diff -u loncom/homework/radiobuttonresponse.pm:1.91 loncom/homework/radiobuttonresponse.pm:1.92
--- loncom/homework/radiobuttonresponse.pm:1.91	Thu Aug 26 18:08:30 2004
+++ loncom/homework/radiobuttonresponse.pm	Fri Aug 27 17:47:34 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # mutliple choice style responses
 #
-# $Id: radiobuttonresponse.pm,v 1.91 2004/08/26 22:08:30 albertel Exp $
+# $Id: radiobuttonresponse.pm,v 1.92 2004/08/27 21:47:34 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -474,7 +474,7 @@
 	    $result.="</tr></table>";
 	}
     }
-    if ($target ne 'tex') { $result.="<br />"; } else { $result.='\vskip 0 mm '; }
+    if ($target ne 'tex') { if ($direction ne 'horizontal') { $result.="<br />";} } else { $result.='\vskip 0 mm '; }
     return $result;
 }