success: function()

in js/triage.js [70:101]


    success: function(data) {
      // ICS DATA LOADED

      // Store ics data in our global data object. See
      // Notes.txt for format info.
      TriageData = parseICSData(data);

      //console.log(TriageData);

      let now = new Date();
      let currentYear = now.getFullYear();
      let year = getYear(now);

      // Global that points to the buckets data for the display year.
      BugQueries = TriageData[year].data;

      // Generates Bugzilla query strings from ics data
      let count = setupQueryURLs(true);

      // Updates the page title.
      displayTitle(year, count);

      // Add engineer names, bucket dates, and grayed out '?' buckets.
      populateBuckets(year, count);

      // Display links for other years and the shedule
      displayYearFooter(currentYear, BugQueries);

      // Make a single query for all bugs for both lists.
      loadBugListDetail();

    }