[LON-CAPA-cvs] cvs: loncom /homework grades.pm
ng
lon-capa-cvs@mail.lon-capa.org
Fri, 11 Jul 2003 14:45:59 -0000
ng Fri Jul 11 10:45:59 2003 EDT
Modified files:
/loncom/homework grades.pm
Log:
work on bug 1433 - remove Submit Changes near top of grading by class page.
Not the best solution - but would entertain a better proposal.
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.110 loncom/homework/grades.pm:1.111
--- loncom/homework/grades.pm:1.110 Fri Jul 11 08:54:07 2003
+++ loncom/homework/grades.pm Fri Jul 11 10:45:59 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.110 2003/07/11 12:54:07 ng Exp $
+# $Id: grades.pm,v 1.111 2003/07/11 14:45:59 ng Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1373,7 +1373,7 @@
my $lastone = pop @col_fullnames;
$msgfor .= ', '.(join ', ',@col_fullnames).' and '.$lastone.'.';
}
- $msgfor =~ s/\'/\\'/g; #' stupid emacs
+ $msgfor =~ s/\'/\\'/g; #' stupid emacs - no! javascript
$result.='<tr><td bgcolor="#ffffff">'."\n".
' <a href="javascript:msgCenter(document.SCORE,'.$counter.
',\''.$msgfor.'\')"; TARGET=_self>'.
@@ -1959,9 +1959,9 @@
$result.='</table>'.'</td></tr></table>'.'</td></tr></table>'."\n".
'<input type="hidden" name="totalparts" value="'.$ctsparts.'" />';
$result.='<input type="button" value="Reset" '.
- 'onClick="javascript:resetEntry('.$ctsparts.');" TARGET=_self> ';
- $result.='<input type="button" value="Submit Changes" '.
- 'onClick="javascript:submit();" TARGET=_self />'."\n";
+ 'onClick="javascript:resetEntry('.$ctsparts.');" TARGET=_self>';
+# $result.=' <input type="button" value="Submit Changes" name="subButton1'.
+# 'onClick="javascript:submit();" TARGET=_self />'."\n";
#table listing all the students in a section/class
#header of table