Skip to content

Commit

Permalink
NOBUG quiz summary Align the submit all and finish button properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt committed Jul 28, 2010
1 parent c95ce1d commit d8011b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions mod/quiz/summary.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,10 @@
$button->id = 'responseform';
$button->add_confirm_action(get_string('confirmclose', 'quiz'));

echo $OUTPUT->container_start('controls');
echo $OUTPUT->render($button);
echo $OUTPUT->container_end();
echo $OUTPUT->container_end();

/// Finish the page
$accessmanager->show_attempt_timer_if_needed($attemptobj->get_attempt(), time());
Expand Down
4 changes: 2 additions & 2 deletions question/qengine.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ question_flag_changer = {
} else {
postdata += '&newstate=0'
}
YAHOO.util.Connect.asyncRequest('POST', qengine_config.actionurl, null, postdata);
question_flag_changer.fire_state_changed(input);
YAHOO.util.Event.preventDefault(e);
question_flag_changer.fire_state_changed(input);
YAHOO.util.Connect.asyncRequest('POST', qengine_config.actionurl, null, postdata);
},

update_image: function(image) {
Expand Down

0 comments on commit d8011b7

Please sign in to comment.