mirror of
https://github.com/moodle/moodle.git
synced 2025-05-02 22:45:03 +02:00
- use course autocomplete element to map courses - add a tab and navigation node - clean up some html - cover course mapping with behat tests
16 lines
394 B
JavaScript
16 lines
394 B
JavaScript
M.mod_feedback = {};
|
|
|
|
M.mod_feedback.init_sendmessage = function(Y) {
|
|
Y.on('click', function(e) {
|
|
Y.all('input.usercheckbox').each(function() {
|
|
this.set('checked', 'checked');
|
|
});
|
|
}, '#checkall');
|
|
|
|
Y.on('click', function(e) {
|
|
Y.all('input.usercheckbox').each(function() {
|
|
this.set('checked', '');
|
|
});
|
|
}, '#checknone');
|
|
};
|