mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-40759 fontawesome: lang strings comments
This commit is contained in:
parent
7e8940b544
commit
dc633a24b9
2 changed files with 12 additions and 9 deletions
|
@ -332,14 +332,15 @@ M.core_comment = {
|
|||
}
|
||||
}, '13,32');
|
||||
// 13 and 32 are the keycodes for space and enter.
|
||||
|
||||
require(['core/templates', 'core/notification'], function(Templates, Notification) {
|
||||
var title = node.getAttribute('title');
|
||||
Templates.renderPix('t/delete', 'core', title).then(function(html) {
|
||||
node.set('innerHTML', html);
|
||||
}).catch(Notification.exception);
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
require(['core/templates', 'core/notification'], function(Templates, Notification) {
|
||||
Templates.renderPix('t/delete', 'core', M.util.get_string('deletecomment', 'moodle')).then(function(html) {
|
||||
Y.all('div.comment-delete a').set('innerHTML', html);
|
||||
}).catch(Notification.exception);
|
||||
});
|
||||
},
|
||||
register_pagination: function() {
|
||||
var scope = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue