Skip to content

Commit

Permalink
MDL-11869 - javascript syntax error was preventing the call to the ca…
Browse files Browse the repository at this point in the history
…lc function. Adding in the double slashes around CDATA resolves the problem. (merging into 19STABLE)
  • Loading branch information
arborrow committed Oct 22, 2007
1 parent 7cc3f26 commit 7ee7b84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blocks/loancalc/block_loancalc.php
Expand Up @@ -15,7 +15,7 @@ function get_content() {

$this->content->text = '
<script type="text/javascript">
<![CDATA[
// <![CDATA[
function Next()
{
submitScreen("Next");
Expand Down Expand Up @@ -148,7 +148,7 @@ function comp(v) { // general entry point for all cases
}
} // function comp
]]>
//]]>
</script>
<h1></h1>
Expand Down

0 comments on commit 7ee7b84

Please sign in to comment.