modified: SRC/app/Http/Controllers/ReferentController.php
modified: SRC/app/Http/routes.php modified: SRC/public/js/ListeOeuvre.js modified: SRC/resources/views/referent.blade.php
This commit is contained in:
@ -257,6 +257,37 @@ $('.checkbox').click(function(event) {
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
// Mettre à jour l'état des liste d'oeuvres
|
||||
$('.checkboxSession').click(function(event) {
|
||||
|
||||
el = $(this).attr('id');
|
||||
valueCheckbox = $(this).is(":checked");
|
||||
|
||||
$(".checkboxSession").map(function(){
|
||||
if (el != $(this).attr('id'))
|
||||
$(this).attr("checked", false);
|
||||
});
|
||||
|
||||
dataSend = { _token : $('#_tokenRes').val(), idListeOeuvre: el, value: valueCheckbox};
|
||||
$.post('updateSessionState', dataSend, function() {
|
||||
// Nada
|
||||
}, "json" )
|
||||
|
||||
.fail(function() {
|
||||
// Nada
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//swicth onglets de bg ma selection /ajouter
|
||||
|
||||
$('#liSelection').click(function() {
|
||||
|
Reference in New Issue
Block a user