mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
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:
parent
dc99997eac
commit
4e36e57bcb
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ class block_loancalc extends block_base {
|
||||||
|
|
||||||
$this->content->text = '
|
$this->content->text = '
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
<![CDATA[
|
//<![CDATA[
|
||||||
function Next()
|
function Next()
|
||||||
{
|
{
|
||||||
submitScreen("Next");
|
submitScreen("Next");
|
||||||
|
@ -148,7 +148,7 @@ function comp(v) { // general entry point for all cases
|
||||||
|
|
||||||
}
|
}
|
||||||
} // function comp
|
} // function comp
|
||||||
]]>
|
//]]>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1></h1>
|
<h1></h1>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue