Bug 1389151 - Show the home section for non main ping in about:telemetry r?gfritzsche draft
authorflyingrub <flyinggrub@gmail.com>
Thu, 10 Aug 2017 18:52:17 +0200
changeset 644190 c9846320dedcf3b7b4b2fe971b93fdab90eb47fe
parent 642885 be392d4638052977f11e3fdd7fe6aac78057351c
child 725526 f2882b2ac5c2180b3f48da5d3893710099562dc9
push id73346
push userbmo:flyinggrub@gmail.com
push dateThu, 10 Aug 2017 16:53:17 +0000
reviewersgfritzsche
bugs1389151
milestone57.0a1
Bug 1389151 - Show the home section for non main ping in about:telemetry r?gfritzsche MozReview-Commit-ID: J9oFy0YDI5z
toolkit/content/aboutTelemetry.js
--- a/toolkit/content/aboutTelemetry.js
+++ b/toolkit/content/aboutTelemetry.js
@@ -2284,17 +2284,17 @@ function renderPayloadList(ping) {
     option.setAttribute("value", payloadIndex);
     listEl.appendChild(option);
   }
 }
 
 function togglePingSections(isMainPing) {
   // We always show the sections that are "common" to all pings.
   let commonSections = new Set(["heading",
-                                "home",
+                                "home-section",
                                 "general-data-section",
                                 "environment-data-section",
                                 "raw-ping-data-section"]);
 
   let elements = document.querySelectorAll(".category");
   for (let section of elements) {
     if (commonSections.has(section.getAttribute("value"))) {
       continue;