mirror of
https://github.com/moodle/moodle.git
synced 2025-03-18 22:50:19 +01:00
MDL-11869 - javascript syntax error was preventing the call to the calc function. Adding in the double slashes around CDATA resolves the problem. (merging into HEAD)
This commit is contained in:
parent
ebf83e2c6f
commit
948acd80e2
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user