Permalink
Browse files

MDL-11869 - javascript syntax error was preventing the call to the ca…

…lc function. Adding in the double slashes around CDATA resolves the problem.
  • Loading branch information...
1 parent dc99997 commit 4e36e57bcb8ece4eb9edec90a631f95d0eee8d90 arborrow committed Oct 22, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 blocks/loancalc/block_loancalc.php
@@ -15,7 +15,7 @@ function get_content() {
$this->content->text = '
<script type="text/javascript">
- <![CDATA[
+ //<![CDATA[
function Next()
{
submitScreen("Next");
@@ -148,7 +148,7 @@ function comp(v) { // general entry point for all cases
}
} // function comp
-]]>
+//]]>
</script>
<h1></h1>

0 comments on commit 4e36e57

Please sign in to comment.