[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm
bowersj2
lon-capa-cvs@mail.lon-capa.org
Tue, 10 Jun 2003 19:44:16 -0000
bowersj2 Tue Jun 10 15:44:16 2003 EDT
Modified files:
/loncom/interface lonnavmaps.pm
Log:
Correct bug where feedback for a multipart resource that is not
condensed would show up for every single line of the multi-part problem.
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.196 loncom/interface/lonnavmaps.pm:1.197
--- loncom/interface/lonnavmaps.pm:1.196 Tue Jun 10 14:42:18 2003
+++ loncom/interface/lonnavmaps.pm Tue Jun 10 15:44:16 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.196 2003/06/10 18:42:18 bowersj2 Exp $
+# $Id: lonnavmaps.pm,v 1.197 2003/06/10 19:44:16 bowersj2 Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -964,6 +964,10 @@
. 'border="0" /></a>';
}
}
+ }
+
+ if ($params->{'multipart'} && $part != '0') {
+ $discussionHTML = $feedbackHTML = $errorHTML = '';
}
return "<td width=\"75\" align=\"left\" valign=\"center\">$discussionHTML$feedbackHTML$errorHTML </td>";