Changeset 15731 for schedule


Ignore:
Timestamp:
05/20/13 09:19:11 (11 years ago)
Author:
tanio
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedule/Module/calendar.php

    r15730 r15731  
    108108
    109109                                                                                data = JSON.parse(data);
    110                                                                                 var names = [];
    111                                                                                 $.each(data, function (i, ligne) {
    112                                                                                         var ind = names.indexOf(ligne.name),
     110                                                                                //var names = [];
     111                                                                                $.each(data, function (i) {
     112                                                                                        //var ind = names.indexOf(ligne.name),
    113113                                                                                               
    114                                                                                                 ind = names.push(ligne.name) - 1;
     114                                                                                        //      ind = names.push(ligne.name) - 1;
    115115                                                                                                options.series.push({
    116116                                                                                                        data: data
     
    121121                                                                               
    122122                                                                               
    123                                                                                 console.log(options);
     123                                                                                //console.log(options);
    124124
    125125                                                                                var chart = new Highcharts.Chart(options);
Note: See TracChangeset for help on using the changeset viewer.