__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
M.core_group = {
hoveroverlay : null
};
M.core_group.init_index = function(Y, wwwroot, courseid) {
M.core_group.groupsCombo = new UpdatableGroupsCombo(wwwroot, courseid);
M.core_group.membersCombo = new UpdatableMembersCombo(wwwroot, courseid);
};
M.core_group.groupslist = function(Y, preventgroupremoval) {
var actions = {
init : function() {
// We need to add check_deletable both on change for the groups, and then call it the first time the page loads
Y.one('#groups').on('change', this.check_deletable, this);
this.check_deletable();
},
check_deletable : function() {
// Ensure that if the 'preventremoval' attribute is set, the delete button is greyed out
var candelete = true;
var optionselected = false;
Y.one('#groups').get('options').each(function(option) {
if (option.get('selected')) {
optionselected = true;
if (option.getAttribute('value') in preventgroupremoval) {
candelete = false;
}
}
}, this);
var deletebutton = Y.one('#deletegroup');
if (candelete && optionselected) {
deletebutton.removeAttribute('disabled');
} else {
deletebutton.setAttribute('disabled', 'disabled');
}
}
}
actions.init();
};
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| amd | Folder | 0777 |
|
|
| classes | Folder | 0777 |
|
|
| templates | Folder | 0777 |
|
|
| tests | Folder | 0777 |
|
|
| assign.php | File | 7.62 KB | 0777 |
|
| autogroup.php | File | 9.98 KB | 0777 |
|
| autogroup_form.php | File | 10.75 KB | 0777 |
|
| clientlib.js | File | 8.65 KB | 0777 |
|
| customfield.php | File | 1.38 KB | 0777 |
|
| delete.php | File | 3.55 KB | 0777 |
|
| externallib.php | File | 68.16 KB | 0777 |
|
| group.php | File | 4.83 KB | 0777 |
|
| group_form.php | File | 10.26 KB | 0777 |
|
| grouping.php | File | 5.46 KB | 0777 |
|
| grouping_customfield.php | File | 1.4 KB | 0777 |
|
| grouping_form.php | File | 4.86 KB | 0777 |
|
| groupings.php | File | 4.7 KB | 0777 |
|
| import.php | File | 12.16 KB | 0777 |
|
| import_form.php | File | 2.77 KB | 0777 |
|
| index.php | File | 9.51 KB | 0777 |
|
| lib.php | File | 46.82 KB | 0777 |
|
| members.php | File | 6.43 KB | 0777 |
|
| module.js | File | 1.53 KB | 0777 |
|
| overview.php | File | 13.94 KB | 0777 |
|
| tabs.php | File | 1.53 KB | 0777 |
|
| upgrade.txt | File | 2.05 KB | 0777 |
|