]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-11869 - javascript syntax error was preventing the call to the calc function...
authorarborrow <arborrow>
Mon, 22 Oct 2007 20:39:29 +0000 (20:39 +0000)
committerarborrow <arborrow>
Mon, 22 Oct 2007 20:39:29 +0000 (20:39 +0000)
blocks/loancalc/block_loancalc.php

index 1c26ab9a0081fadbb7cbbaf282d39308caa1dd33..594251fdec7750f19002f12993a5a61cac62114a 100644 (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>