diff --git a/mod/assignment/lib.php b/mod/assignment/lib.php index 8e2505eb485..7dfb68be773 100644 --- a/mod/assignment/lib.php +++ b/mod/assignment/lib.php @@ -1112,6 +1112,17 @@ class assignment_base { $assignment = $this->assignment; $cm = $this->cm; + /// Print quickgrade form around the table + if ($quickgrade){ + echo '
'; + echo '
'; + echo ''; + echo ''; + echo ''; + echo ''; + echo '
'; + } + $tabindex = 1; //tabindex for quick grading tabbing; Not working for dropdowns yet add_to_log($course->id, 'assignment', 'view submission', 'submissions.php?id='.$this->cm->id, $this->assignment->id, $this->cm->id); $PAGE->navbar->add($this->strsubmissions); @@ -1384,17 +1395,6 @@ class assignment_base { } } - /// Print quickgrade form around the table - if ($quickgrade){ - echo ''; - echo '
'; - echo ''; - echo ''; - echo ''; - echo ''; - echo '
'; - } - $table->print_html(); /// Print the whole table if ($quickgrade){