Merge branch 'MDL-37770-master' of git://github.com/damyon/moodle

This commit is contained in:
Dan Poltawski 2013-02-25 14:32:01 +08:00
commit f4e34c5ffb
2 changed files with 12 additions and 1 deletions

View File

@ -150,3 +150,13 @@ td.submissioneditable {
.hidefull {
display: none;
}
.quickgradingform form .commentscontainer input,
.quickgradingform form .commentscontainer textarea {
display: none;
}
.jsenabled .quickgradingform form .commentscontainer input,
.jsenabled .quickgradingform form .commentscontainer textarea {
display: inline;
}

View File

@ -71,7 +71,8 @@ class assign_submission_comments extends assign_submission_plugin {
$comment = new comment($options);
$comment->set_view_permission(true);
return $comment->output(true);
$o = $this->assignment->get_renderer()->container($comment->output(true), 'commentscontainer');
return $o;
}
/**