Changeset 16600 for schedule


Ignore:
Timestamp:
06/02/13 16:12:35 (11 years ago)
Author:
tanio
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • schedule/Module/calendar.php

    r16599 r16600  
    9999                                var year;
    100100                                var month;
    101                                 var source = ["Mrk 421","Mrk 501"];
    102101                                function testData()
    103102                                {
    104103                                        //calls the xml request in a loop based on the current sources               
    105                                        
     104                                        var source = ["Mrk 421","Mrk 501"];
    106105                                        for (i = 0; i<source.length; i++)
    107106                                        {
    108107                                                testXMLData(i, source);
     108                                                $('#data').append('1st'+source);
    109109                                        }
    110110                                }
     
    113113                                {
    114114                                        var testXML;
     115                                        $('#data').append('   xmlData pass'+source + " "+index);
    115116                                        testXML = new XMLHttpRequest();
    116117                                        //NOTE: previous errors on the request was caused by appending "http://www.fact-project.org"
     
    126127                                                                {
    127128                                                                displayXMLData(dataSource, source); //this will be called when the last data from the list is read
     129                                                                $('#data').append('successfully load'+source +""+dataSource);
    128130                                                                }
    129131                                                }
     
    135137                                {
    136138                                        //This function splits the lines of data per data source
    137                                         var dataGraph = new Array();
     139                                        var dataGraph = new Array(source.length);
    138140                                        for (i=0; i<source.length; i++)
    139141                                        {
Note: See TracChangeset for help on using the changeset viewer.