[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 22 Mar 2004 22:17:40 -0000
albertel Mon Mar 22 17:17:40 2004 EDT
Modified files:
/loncom/interface lonnavmaps.pm
Log:
- BUG#2856, A sequence containg only a page, was eliding the existance of the page container.
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.254 loncom/interface/lonnavmaps.pm:1.255
--- loncom/interface/lonnavmaps.pm:1.254 Wed Mar 17 11:28:23 2004
+++ loncom/interface/lonnavmaps.pm Mon Mar 22 17:17:40 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.254 2004/03/17 16:28:23 matthew Exp $
+# $Id: lonnavmaps.pm,v 1.255 2004/03/22 22:17:40 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2514,7 +2514,7 @@
}
# Check: Was this only one resource, a map?
- if ($resourceCount == 1 && $resource->is_map() && !$self->{FORCE_TOP}) {
+ if ($resourceCount == 1 && $resource->is_sequence() && !$self->{FORCE_TOP}) {
my $firstResource = $resource->map_start();
my $finishResource = $resource->map_finish();
return