Merged from stable (Bug #4423 - Short Answer Quiz Q's Saving Form Entries)

This commit is contained in:
moodler
2005-12-05 06:11:26 +00:00
parent 5a0345c2e1
commit f8432d2500
+3 -3
View File
@@ -132,7 +132,7 @@
}
echo "<br />\n";
echo "<form name=\"passwordform\" method=\"post\" action=\"attempt.php?id=$cm->id\">\n";
echo "<form name=\"passwordform\" method=\"post\" action=\"attempt.php?id=$cm->id\" autocomplete=\"off\">\n";
print_simple_box_start("center");
echo "<div align=\"center\">\n";
@@ -401,7 +401,7 @@
?>
<script language="javascript" type="text/javascript">
<!--
document.write("<form name=\"responseform\" method=\"post\" action=\"attempt.php\">\n");
document.write("<form name=\"responseform\" method=\"post\" action=\"attempt.php\" autocomplete=\"off\">\n");
// -->
</script>
<noscript>
@@ -409,7 +409,7 @@
</noscript>
<?php
} else {
echo "<form name=\"responseform\" method=\"post\" action=\"attempt.php\">\n";
echo "<form name=\"responseform\" method=\"post\" action=\"attempt.php\" autocomplete=\"off\">\n";
}
// Add a hidden field with the quiz id