Changeset 16434 for schedule/Module/calendar.php
- Timestamp:
- 05/29/13 15:08:20 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16433 r16434 111 111 //int sources = 0; 112 112 113 for(sources=0;sources<source.length;sources++)114 {113 //for(sources=0;sources<source.length;sources++) 114 // { 115 115 if (window.XMLHttpRequest) 116 116 {// code for IE7+, Firefox, Chrome, Opera, Safari … … 128 128 { 129 129 130 Data[ sources]= new Array();130 Data[1]= new Array(); 131 131 //Data[sources]= new Array(); 132 132 … … 135 135 { 136 136 rows=line[row].split(','); 137 Data[ sources].push(rows[4]);137 Data[1].push(rows[4]); 138 138 } 139 139 … … 144 144 } 145 145 146 xmlhttp.open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source[ sources])+"&time="+year+"-"+month+"-"+day,true);146 xmlhttp.open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source[1])+"&time="+year+"-"+month+"-"+day,true); 147 147 xmlhttp.send(); 148 document.getElementById('data').innerHTML=source.length+""+source s;149 }148 document.getElementById('data').innerHTML=source.length+""+source[1]; 149 //} 150 150 151 151 function GraphData(array, index)
Note:
See TracChangeset
for help on using the changeset viewer.