Permalink
Browse files

MDL-26302 quiz editing: top move button on the order and paging tab d…

…oes not work.

It is strange that processes the submission already handles the submitted data from this change to the HTML.
  • Loading branch information...
1 parent 9e47a85 commit 3c94cc716e81d9464033ad4247ca672a71223083 @tcubansk tcubansk committed with timhunt Aug 22, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 mod/quiz/editlib.php
View
@@ -388,6 +388,8 @@ function quiz_print_question_list($quiz, $pageurl, $allowdelete, $reordertool,
$a = '<input name="moveselectedonpagetop" type="text" size="2" ' .
$pagingdisabled . ' />';
+ $b = '<input name="moveselectedonpagebottom" type="text" size="2" ' .
+ $pagingdisabled . ' />';
$reordercontrols2top = '<div class="moveselectedonpage">' .
get_string('moveselectedonpage', 'quiz', $a) .
@@ -398,7 +400,7 @@ function quiz_print_question_list($quiz, $pageurl, $allowdelete, $reordertool,
$reordercontrols2bottom = '<div class="moveselectedonpage">' .
'<input type="submit" name="savechanges" value="' .
$strreorderquestions . '" /><br />' .
- get_string('moveselectedonpage', 'quiz', $a) .
+ get_string('moveselectedonpage', 'quiz', $b) .
'<input type="submit" name="savechanges" value="' .
$strmove . '" ' . $pagingdisabled . ' /> ' . '</div>';

0 comments on commit 3c94cc7

Please sign in to comment.