[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 05 Mar 2004 21:51:51 -0000


albertel		Fri Mar  5 16:51:51 2004 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  - is_problem is no smart
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.249 loncom/interface/lonnavmaps.pm:1.250
--- loncom/interface/lonnavmaps.pm:1.249	Tue Feb 24 14:14:42 2004
+++ loncom/interface/lonnavmaps.pm	Fri Mar  5 16:51:50 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.249 2004/02/24 19:14:42 www Exp $
+# $Id: lonnavmaps.pm,v 1.250 2004/03/05 21:51:50 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3175,7 +3175,7 @@
 sub is_problem {
     my $self=shift;
     my $src = $self->src();
-    return ($src =~ /problem$/);
+    return ($src =~ /\.(problem|exam|quiz|assess|survey|form|library)$/);
 }
 sub is_sequence {
     my $self=shift;