mirror of
https://github.com/moodle/moodle.git
synced 2025-02-19 15:45:59 +01:00
Fixed comment copying from stable
This commit is contained in:
parent
fd40be3e8d
commit
d23026fdf6
@ -488,7 +488,7 @@ class assignment_base {
|
||||
}
|
||||
if (empty($SESSION->flextable['mod-assignment-submissions']->collapse['comment'])) {
|
||||
echo 'opener.document.getElementById("com'.$submission->userid.
|
||||
'").innerHTML="'.shorten_text(strip_tags($submission->comment), 15)."\";\n";
|
||||
'").innerHTML="'.shorten_text(trim(strip_tags($submission->comment)), 15)."\";\n";
|
||||
}
|
||||
if (empty($SESSION->flextable['mod-assignment-submissions']->collapse['timemodified']) &&
|
||||
$submission->timemodified) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user