Changeset 16323 for schedule


Ignore:
Timestamp:
05/27/13 16:39:58 (11 years ago)
Author:
tanio
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedule/Module/calendar.php

    r16322 r16323  
    124124                                                                  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    125125                                                                        {
    126                                                                                 line=xmlhttp.responseText.split('\n');
    127                                                                                 for(row=0;row<line.length;row++)
     126                                                                                if(src==1)
    128127                                                                                {
    129                                                                                         rows=line[row].split(',');
    130                                                                                         val.push(rows[4]);
    131                                                                                         T.push(rows[0]);
     128                                                                                        line=xmlhttp.responseText.split('\n');
     129                                                                                        for(row=0;row<line.length;row++)
     130                                                                                        {
     131                                                                                                rows=line[row].split(',');
     132                                                                                                val.push("XD"+rows[4]);
     133                                                                                                T.push("xD"+rows[0]);
     134                                                                                        }
     135                                                                                }
     136                                                                                else
     137                                                                                {
     138                                                                                        line=xmlhttp.responseText.split('\n');
     139                                                                                        for(row=0;row<line.length;row++)
     140                                                                                        {
     141                                                                                                rows=line[row].split(',');
     142                                                                                                val.push(rows[4]);
     143                                                                                                T.push(rows[0]);
     144                                                                                        }
    132145                                                                                }
    133146                                                                                GraphData(val,T);
Note: See TracChangeset for help on using the changeset viewer.