MDL-11869 - javascript syntax error was preventing the call to the calc function. Adding in the double slashes around CDATA resolves the problem.

This commit is contained in:
arborrow 2007-10-22 20:29:45 +00:00
parent dc99997eac
commit 4e36e57bcb

View file

@ -15,7 +15,7 @@ class block_loancalc extends block_base {
$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>