|
|
|
@ -30,17 +30,17 @@
|
|
|
|
|
//<![CDATA[
|
|
|
|
|
jQuery(document).ready(function() {
|
|
|
|
|
[(#ENV{_nb_affectations}|oui)
|
|
|
|
|
jQuery(".editer_vidage_liste input.checkbox").attr('disabled', 'disabled');
|
|
|
|
|
jQuery(".editer_vidage_liste input.checkbox").prop('disabled', true);
|
|
|
|
|
]
|
|
|
|
|
jQuery(".editer_vidage_affectation input.checkbox").on('click', function() {
|
|
|
|
|
if (jQuery(".editer_vidage_affectation input.checkbox").prop('checked')) {
|
|
|
|
|
jQuery(".editer_vidage_liste input.checkbox").attr('disabled', null);
|
|
|
|
|
jQuery(".editer_vidage_liste input.checkbox").prop('disabled', false);
|
|
|
|
|
} else {
|
|
|
|
|
[(#ENV{_nb_affectations}|oui)
|
|
|
|
|
jQuery(".editer_vidage_liste input.checkbox").attr('disabled', 'disabled');
|
|
|
|
|
jQuery(".editer_vidage_liste input.checkbox").prop('disabled', true);
|
|
|
|
|
]
|
|
|
|
|
[(#ENV{_nb_affectations}|non)
|
|
|
|
|
jQuery(".editer_vidage_liste input.checkbox").attr('disabled', null);
|
|
|
|
|
jQuery(".editer_vidage_liste input.checkbox").prop('disabled', false);
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
jQuery(this).blur();
|
|
|
|
|