]> git.mjollnir.org Git - moodle.git/commitdiff
fixed bug #5562 I hope; merged from MOODLE_16_STABLE
authorskodak <skodak>
Wed, 24 May 2006 18:56:33 +0000 (18:56 +0000)
committerskodak <skodak>
Wed, 24 May 2006 18:56:33 +0000 (18:56 +0000)
mod/quiz/attempt.php

index 75bd2e7012552972b1635b6a4c1540dc1d61bf25..bb72cdc8a79bea0cb6d59c86275ac7a557143a5b 100644 (file)
         <script language="javascript" type="text/javascript">
         function navigate(page) {
             document.responseform.page.value=page;
-            document.responseform.onsubmit();
+            if (document.responseform.onsubmit) {
+                   document.responseform.onsubmit();
+               }
             document.responseform.submit();
         }
         </script>