Ignore:
Timestamp:
05/28/13 14:29:43 (11 years ago)
Author:
tanio
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedule/Module/calendar.php

    r16373 r16388  
    111111                                                        var src = 0;
    112112                                                       
    113                                                                
     113                                                        do
     114                                                        {                                                       
    114115                                                                if (window.XMLHttpRequest)
    115116                                                                  {// code for IE7+, Firefox, Chrome, Opera, Safari
     
    126127                                                                               
    127128                                                                                        Data[src]= new Array();
    128                                                                                        
     129                                                                                for(srcs=0;srcs<src;srcs++)
     130                                                                                {
    129131                                                                                        line=xmlhttp.responseText.split('\n');
    130132                                                                                        for(row=0;row<line.length;row++)
    131133                                                                                        {
    132134                                                                                                rows=line[row].split(',');
    133                                                                                                 Data[0].push(rows[4]);
     135                                                                                                Data[srcs].push(rows[4]);
    134136                                                                                        }
    135                                                                                        
     137                                                                                }       
    136138                                                                                        GraphData(Data, src);
    137139                                                                                        //document.getElementById('data').innerHTML=Data[src];
     
    142144                                                                xmlhttp.send();
    143145                                                                document.getElementById('data').innerHTML=source.length+""+src;
    144                                                        
    145                                                        
     146                                                                src++;
     147                                                        }while(src<source.length);
    146148                                                        function GraphData(array, index)
    147149                                                        {
Note: See TracChangeset for help on using the changeset viewer.