Permalink
Browse files

Merge branch 'MDL-31102_21' of git://github.com/timhunt/moodle into M…

…OODLE_21_STABLE
  • Loading branch information...
2 parents b24713d + 9349aa1 commit 2d33f4e81cd47f52be315772b37801c301d22ca8 Sam Hemelryk committed Jan 16, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −0 question/preview.php
  2. +1 −1 question/previewlib.php
@@ -228,8 +228,10 @@
// Start the question form.
echo '<form method="post" action="' . $actionurl .
'" enctype="multipart/form-data" id="responseform">', "\n";
+echo '<div>';
echo '<input type="hidden" name="sesskey" value="' . sesskey() . '" />', "\n";
echo '<input type="hidden" name="slots" value="' . $slot . '" />', "\n";
+echo '</div>';
// Output the question.
echo $quba->render_question($slot, $options, $displaynumber);
@@ -89,7 +89,7 @@ public function definition() {
get_string('responsehistory', 'question'), $hiddenofvisible);
$mform->addElement('submit', 'submit',
- get_string('restartwiththeseoptions', 'question'), $hiddenofvisible);
+ get_string('restartwiththeseoptions', 'question'));
}
}

0 comments on commit 2d33f4e

Please sign in to comment.