--- loncom/homework/grades.pm 2010/04/20 21:53:33 1.627
+++ loncom/homework/grades.pm 2010/04/21 20:22:19 1.629
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.627 2010/04/20 21:53:33 www Exp $
+# $Id: grades.pm,v 1.629 2010/04/21 20:22:19 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -891,7 +891,7 @@ LISTJAVASCRIPT
''."\n".
''.
- ''."\n".
''.
' '.
@@ -1323,7 +1323,8 @@ sub sub_page_kw_js {
my $iconpath = $request->dir_config('lonIconsURL');
&commonJSfunctions($request);
- my $inner_js_msg_central= &Apache::lonhtmlcommon::scripttag(<
function checkInput() {
opener.document.SCORE.msgsub.value = opener.checkEntities(document.msgcenter.msgsub.value);
var nmsg = opener.document.SCORE.savemsgN.value;
@@ -1360,9 +1361,11 @@ sub sub_page_kw_js {
self.close()
}
+
INNERJS
- my $inner_js_highlight_central= &Apache::lonhtmlcommon::scripttag(<
function updateChoice(flag) {
opener.document.SCORE.kwclr.value = opener.radioSelection(document.hlCenter.kwdclr);
opener.document.SCORE.kwsize.value = opener.radioSelection(document.hlCenter.kwdsize);
@@ -1373,6 +1376,7 @@ INNERJS
}
self.close()
}
+
INNERJS
my $start_page_msg_central =
@@ -3371,6 +3375,9 @@ sub viewgrades {
if (!$display) { $display = &Apache::lonnet::metadata($url,$part.'.name'); }
my ($partid) = &split_part_type($part);
push(@partids,$partid);
+#
+# FIXME: Looks like $display looks at English text
+#
my $display_part=&get_display_part($partid,$symb);
if ($display =~ /^Partial Credit Factor/) {
$result.=''.
|