cms/app-client/app/components/visu-chrono.js
changeset 72 9a7ea5349882
parent 54 5b2b161dd4ce
child 77 0889740f79c2
equal deleted inserted replaced
71:22d9719f1929 72:9a7ea5349882
    21     })
    21     })
    22 
    22 
    23     $(document).mouseup(function () {
    23     $(document).mouseup(function () {
    24       isMouseDown = false;
    24       isMouseDown = false;
    25     });
    25     });
    26 
       
    27     console.log('test: ', this);
       
    28     console.log(this.get('route'));
       
    29     console.log(this.get('router.queryParams'));
       
    30   },
    26   },
    31   sendUpdate: function(){
    27   sendUpdate: function(){
    32     var dateQuery = $('.highlighted').map(function(index, elt) {
    28     var dateQuery = $('.highlighted').map(function(index, elt) {
    33       return parseInt($(elt).parent().attr('id')) + parseInt($(elt).html());
    29       return parseInt($(elt).parent().attr('id')) + parseInt($(elt).html());
    34     }).get().join(',');
    30     }).get().join(',');