Changeset 16436 for schedule


Ignore:
Timestamp:
05/29/13 15:10:37 (11 years ago)
Author:
tanio
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedule/Module/calendar.php

    r16435 r16436  
    128128                                                                        {
    129129                                                                                       
    130                                                                                                 Data[1]= new Array();
     130                                                                                                Data[0]= new Array();
    131131                                                                                                //Data[sources]= new Array();
    132132                                                                                               
     
    135135                                                                                                {
    136136                                                                                                        rows=line[row].split(',');
    137                                                                                                         Data[1].push(rows[4]);
     137                                                                                                        Data[0].push(rows[4]);
    138138                                                                                                }
    139139                                                                                       
    140140                                                                                       
    141                                                                                         GraphData(Data,1);
     141                                                                                        GraphData(Data,0);
    142142                                                                                        //document.getElementById('data').innerHTML=Data[sources];
    143143                                                                        }
    144144                                                                }
    145145                                                               
    146                                                                 xmlhttp.open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source[1])+"&time="+year+"-"+month+"-"+day,true);
     146                                                                xmlhttp.open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source[0])+"&time="+year+"-"+month+"-"+day,true);
    147147                                                                xmlhttp.send();
    148                                                                 document.getElementById('data').innerHTML=source.length+""+source[1];
     148                                                                document.getElementById('data').innerHTML=source.length+""+source[0];
    149149                                                                //}
    150150                                                       
Note: See TracChangeset for help on using the changeset viewer.