X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/group
home
/
cbholdings
/
pasukulu
/
group
/
📁
..
📄
assign.php
(7.62 KB)
📄
autogroup.php
(9.98 KB)
📄
autogroup_form.php
(10.7 KB)
📁
classes
📄
clientlib.js
(8.64 KB)
📄
delete.php
(3.55 KB)
📄
externallib.php
(63.49 KB)
📄
group.php
(4.81 KB)
📄
group_form.php
(9.74 KB)
📄
grouping.php
(5.44 KB)
📄
grouping_form.php
(4.11 KB)
📄
groupings.php
(4.74 KB)
📄
import.php
(10.84 KB)
📄
import_form.php
(2.71 KB)
📄
index.php
(10 KB)
📄
lib.php
(42.78 KB)
📄
members.php
(6.43 KB)
📄
module.js
(1.53 KB)
📄
overview.php
(13.81 KB)
📄
tabs.php
(1.53 KB)
📁
templates
📁
tests
📄
upgrade.txt
(1.31 KB)
Editing: module.js
/* * 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(); };
Upload File
Create Folder