MDL-8062 Remove name attribute from <form> and related javascript code cleanup (tested with FF, IE, Konq and Opera)

This commit is contained in:
skodak 2007-01-06 19:22:58 +00:00
parent ee7f231d08
commit d2ce367fb9
38 changed files with 135 additions and 125 deletions

View file

@ -163,7 +163,7 @@ function checkform() {
var error=false;
with (document.form) {
with (getElementById('form')) {
<?php
if (!empty($checklist)) {
foreach ($checklist as $question => $default) {
@ -176,7 +176,7 @@ function checkform() {
if (error) {
alert("<?php print_string("questionsnotanswered", "survey") ?>");
} else {
document.form.submit();
getElementById('form').submit();
}
}