[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm
raeburn
raeburn at source.lon-capa.org
Thu Jun 2 12:03:58 EDT 2016
raeburn Thu Jun 2 16:03:58 2016 EDT
Modified files:
/loncom/interface lonnavmaps.pm
Log:
- Bug 4373. Recursive map-level parameters.
- Don't remove the parent folder of the current folder from the hierarchy
to check.
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.520 loncom/interface/lonnavmaps.pm:1.521
--- loncom/interface/lonnavmaps.pm:1.520 Mon May 30 02:45:38 2016
+++ loncom/interface/lonnavmaps.pm Thu Jun 2 16:03:57 2016
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.520 2016/05/30 02:45:38 raeburn Exp $
+# $Id: lonnavmaps.pm,v 1.521 2016/06/02 16:03:57 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2792,7 +2792,6 @@
if (ref($res)) {
my @pcs = split(/,/,$res->map_hierarchy());
shift(@pcs);
- pop(@pcs);
if (@pcs) {
@recurseup = map { &Apache::lonnet::declutter($self->getByMapPc($_)->src()); } reverse(@pcs);
}
More information about the LON-CAPA-cvs
mailing list