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

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 02 Nov 2006 22:23:06 -0000


albertel		Thu Nov  2 17:23:06 2006 EDT

  Modified files:              
    /loncom/homework	bridgetask.pm 
  Log:
  - dimensionmandatory got eliminated
  
  
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.188 loncom/homework/bridgetask.pm:1.189
--- loncom/homework/bridgetask.pm:1.188	Tue Oct 31 16:29:38 2006
+++ loncom/homework/bridgetask.pm	Thu Nov  2 17:23:06 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: bridgetask.pm,v 1.188 2006/10/31 21:29:38 albertel Exp $
+# $Id: bridgetask.pm,v 1.189 2006/11/02 22:23:06 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2164,7 +2164,7 @@
 		} else {
 		    my $dim_status=$Apache::lonhomework::history{"resource.$version.0.$dim.status"};
 		    my $mandatory='Mandatory';
-		    if ($Apache::bridgetask::dimensionmandatory{$dim} eq 'N') {
+		    if (&Apache::lonxml::get_param('Mandatory',$parstack,$safeeval) eq 'N') {
 			$mandatory='Optional';
 		    }
 		    my $dim_info="<div class='LC_$dim_status LC_question_grade'>\n";