mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-46223 Fix frequently used comments in the marking guide
When the frequently used comment contains a character like >, re-use it directly instead of its HTML entitiy.
This commit is contained in:
parent
6c3264a22a
commit
db5a6e6560
@ -10,7 +10,7 @@ M.gradingform_guide.init = function(Y, options) {
|
||||
currentfocus = e.currentTarget;
|
||||
});
|
||||
Y.all('.markingguidecomment').on('click', function(e) {
|
||||
currentfocus.set('value', currentfocus.get('value') + '\n' + e.currentTarget.get('innerHTML'));
|
||||
currentfocus.set('value', currentfocus.get('value') + '\n' + e.currentTarget.get('text'));
|
||||
currentfocus.focus();
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user