3 M
.mod_attendance
.init_manage
= function(Y
) {
5 Y
.on('click', function(e
) {
6 if (e
.target
.get('checked')) {
14 M
.mod_attendance
.set_preferences_action
= function(action
) {
15 var item
= document
.getElementById('preferencesaction');
17 item
.setAttribute('value', action
);
19 item
= document
.getElementById('preferencesform');
20 var input
= document
.createElement("input");
21 input
.setAttribute("type", "hidden");
22 input
.setAttribute("name", "action");
23 input
.setAttribute("value", action
);
24 item
.appendChild(input
);