- Timestamp:
- 06/03/13 09:53:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16610 r16611 102 102 { 103 103 //calls the xml request in a loop based on the current sources 104 var source = [ "Mrk 421","Mrk 501"];104 var source = ['Mrk 421','Mrk 501']; 105 105 for (i = 0; i<source.length; i++) 106 106 { 107 alert (source[i]); 107 108 testXMLData(i, source); 108 109 //$('#data').append('1st'+source); … … 126 127 if (dataSource.length == source.length) 127 128 { 129 alert("new datasource"); 128 130 displayXMLData(dataSource, source); //this will be called when the last data from the list is read 129 131 //$('#data').append('successfully load'+source +""+dataSource); 130 132 } 131 } 133 } 134 else 135 alert("status is " + testXML.status); 136 132 137 testXML.send(); 133 138 } … … 155 160 year =this.selection.print("%Y").join("\n"); 156 161 //document.getElementById('data').innerHTML="Calendar selected! "; 157 //displayXMLData(); 162 //displayXMLData(); 163 alert("test data"); 158 164 testData(); 159 165
Note:
See TracChangeset
for help on using the changeset viewer.