[LON-CAPA-cvs] cvs: loncom /homework grades.pm
www
www@source.lon-capa.org
Wed, 21 Apr 2010 20:22:19 -0000
www Wed Apr 21 20:22:19 2010 EDT
Modified files:
/loncom/homework grades.pm
Log:
Need to do this the pedestrian way. The whole script is condensed into one
line, and the \\ <![CDATA otherwise comments out the complete script.
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.628 loncom/homework/grades.pm:1.629
--- loncom/homework/grades.pm:1.628 Tue Apr 20 23:29:22 2010
+++ loncom/homework/grades.pm Wed Apr 21 20:22:19 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.628 2010/04/20 23:29:22 www Exp $
+# $Id: grades.pm,v 1.629 2010/04/21 20:22:19 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1323,7 +1323,8 @@
my $iconpath = $request->dir_config('lonIconsURL');
&commonJSfunctions($request);
- my $inner_js_msg_central= &Apache::lonhtmlcommon::scripttag(<<INNERJS);
+ my $inner_js_msg_central= (<<INNERJS);
+<script type="text/javascript">
function checkInput() {
opener.document.SCORE.msgsub.value = opener.checkEntities(document.msgcenter.msgsub.value);
var nmsg = opener.document.SCORE.savemsgN.value;
@@ -1360,9 +1361,11 @@
self.close()
}
+</script>
INNERJS
- my $inner_js_highlight_central= &Apache::lonhtmlcommon::scripttag(<<INNERJS);
+ my $inner_js_highlight_central= (<<INNERJS);
+<script type="text/javascript">
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 @@
}
self.close()
}
+</script>
INNERJS
my $start_page_msg_central =