[LON-CAPA-cvs] cvs: loncom(randomize) /interface londocs.pm

albertel lon-capa-cvs-allow@mail.lon-capa.org
Wed, 18 Jul 2007 18:36:54 -0000


albertel		Wed Jul 18 14:36:54 2007 EDT

  Modified files:              (Branch: randomize)
    /loncom/interface	londocs.pm 
  Log:
  - typo prevent randorder to take effect
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.278.2.2 loncom/interface/londocs.pm:1.278.2.3
--- loncom/interface/londocs.pm:1.278.2.2	Fri Jun 29 15:51:06 2007
+++ loncom/interface/londocs.pm	Wed Jul 18 14:36:52 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.278.2.2 2007/06/29 19:51:06 albertel Exp $
+# $Id: londocs.pm,v 1.278.2.3 2007/07/18 18:36:52 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1920,7 +1920,7 @@
 	my $ro_set=
 	    ((&LONCAPA::map::getparameter($orderidx,'parameter_randomorder'))[0]=~/^yes$/i?' checked="checked"':'');
 	$rand_order_text ='
-<nobr><label><input type="checkbox" name="randorder_$orderidx" onClick="this.form.changeparms.value=\'randomorder\';this.form.submit()" '.$ro_set.' /> '.&mt('Random Order').' </label></nobr>';
+<nobr><label><input type="checkbox" name="randorder_'.$orderidx.'" onClick="this.form.changeparms.value=\'randomorder\';this.form.submit()" '.$ro_set.' /> '.&mt('Random Order').' </label></nobr>';
     }
     if ($ispage) {
         my $pagename=&escape($pagetitle);