Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/public/plugin/vchamilo/js/host_list.js

15 lines
380 B

function selectallhosts() {
$('.vnodessel').attr('checked', true);
}
function deselectallhosts() {
$('.vnodessel').attr('checked', false);
}
function setpreset(form, select) {
presetvalue = select.options[select.selectedindex].value;
parts = presetvalue.split('/');
form.elements['variable'].value = parts[0];
form.elements['subkey'].value = parts[1];
}