[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm
raeburn
raeburn at source.lon-capa.org
Wed Sep 14 21:06:41 EDT 2011
raeburn Thu Sep 15 01:06:41 2011 EDT
Modified files:
/loncom/interface lonnavmaps.pm
Log:
- Simpler implementation of change made in rev 1.452.
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.462 loncom/interface/lonnavmaps.pm:1.463
--- loncom/interface/lonnavmaps.pm:1.462 Mon Jul 18 11:56:23 2011
+++ loncom/interface/lonnavmaps.pm Thu Sep 15 01:06:41 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.462 2011/07/18 11:56:23 christianto Exp $
+# $Id: lonnavmaps.pm,v 1.463 2011/09/15 01:06:41 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
@@ -1090,10 +1090,9 @@
}
}
- if (($resource->kind() eq "res" &&
- ($resource->is_problem() || $resource->is_practice()) &&
- !$firstDisplayed) &&
- $resource->is_raw_problem()) {
+ if ($resource->kind() eq "res" &&
+ $resource->is_raw_problem() &&
+ !$firstDisplayed) {
if ($color) {$result .= "<font color=\"$color\"><b>"; }
$result .= getDescription($resource, $part);
if ($color) {$result .= "</b></font>"; }
More information about the LON-CAPA-cvs
mailing list