-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapply.js
36 lines (30 loc) · 829 Bytes
/
apply.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
function set_item_focus(itemid) {
var item = document.getElementById(itemid);
if(item){
item.focus();
}
}
/*
function applyGo2delete(form) {
form.action = M.cfg.wwwroot+'/mod/apply/delete_submit.php';
form.submit();
}
function setcourseitemfilter(item, item_typ) {
document.report.courseitemfilter.value = item;
document.report.courseitemfiltertyp.value = item_typ;
document.report.submit();
}
M.mod_apply = {};
M.mod_apply.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');
};
*/