Projet

Général

Profil

« Précédent | Suivant » 

Révision dd986559

Ajouté par Serghei Mihai (congés, retour 15/05) il y a environ 10 ans

agenda: room renamed to ressource

Closes #4653

Voir les différences:

calebasse/static/js/calebasse.agenda.js
16 16
function get_participants() {
17 17
    var participants = new Array();
18 18
    var active_agenda = $.cookie('active-agenda').split('-');
19
    var room = '';
19
    var ressource = '';
20 20
    if (active_agenda[0] == 'ressource') {
21
        room = active_agenda[1];
21
        ressource = active_agenda[1];
22 22
    } else {
23
        room = $.cookie('last-ressource');
23
        ressource = $.cookie('last-ressource');
24 24
    }
25 25

  
26 26
    if ($.cookie('agenda-tabs')) {
......
34 34
        });
35 35
    }
36 36
    return $.param({participants: $.makeArray(participants),
37
                    room: room,
37
                    ressource: ressource,
38 38
                    time: $(this).data('hour') }, true);
39 39
}
40 40

  
......
446 446
    $('#filtre input').keyup();
447 447

  
448 448
    $.each({'persons': 'worker',
449
            'rooms': 'ressource'},
449
            'ressources': 'ressource'},
450 450
         function(key, value) {
451 451
             $('#close-all-agendas').click(function() {
452 452
                 $.cookie('active-agenda', '', {path: COOKIE_PATH});

Formats disponibles : Unified diff