[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: loncom /homework grades.pm
From: www <www () source ! lon-capa ! org>
Date: 2010-04-21 20:22:19
Message-ID: cvswww1271881339 () cvsserver
[Download RAW message or body]
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 =
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic