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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 26 Sep 2002 21:45:53 -0000


albertel		Thu Sep 26 17:45:53 2002 EDT

  Modified files:              
    /loncom/homework	radiobuttonresponse.pm 
  Log:
  - hide and show locations properly
  
  
Index: loncom/homework/radiobuttonresponse.pm
diff -u loncom/homework/radiobuttonresponse.pm:1.52 loncom/homework/radiobuttonresponse.pm:1.53
--- loncom/homework/radiobuttonresponse.pm:1.52	Thu Sep 26 17:40:24 2002
+++ loncom/homework/radiobuttonresponse.pm	Thu Sep 26 17:45:53 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # mutliple choice style responses
 #
-# $Id: radiobuttonresponse.pm,v 1.52 2002/09/26 21:40:24 albertel Exp $
+# $Id: radiobuttonresponse.pm,v 1.53 2002/09/26 21:45:53 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -448,7 +448,7 @@
 				       ['unused','true','false'],$token);
     my $randomize=&Apache::lonxml::get_param('randomize',$parstack,
 					     $safeeval,'-3');
-    if ($randomize eq 'yes') {
+    if ($randomize ne 'no') {
       $result.=&Apache::edit::select_arg('Location:','location',
 					 ['random','top','bottom'],$token);
     }