Dashboard code restructuring
[WebKit-https.git] / Tools / BuildSlaveSupport / build.webkit.org-config / public_html / dashboard / Scripts / Main.js
index 913be1cf98c7bae7e7b95fb623f3b2ae2c7b6db0..650414d973281e9592f357b5e815e2238b1ae55d 100644 (file)
@@ -26,7 +26,8 @@
 var hasBubbles = typeof bubbleQueueServer != "undefined";
 var BubblesCategory = "bubbles";
 
-var categorizedQueuesByPlatformAndBuildType = {};
+if (!categorizedQueuesByPlatformAndBuildType)
+    var categorizedQueuesByPlatformAndBuildType = {};
 var platformsByFamily = {};
 
 for (var i = 0; i < buildbots.length; ++i) {
@@ -258,6 +259,9 @@ function documentReady()
             cell.appendChild(view.element);
         }
 
+        if (platformQueues.customView)
+            cell.appendChild(platformQueues.customView.element);
+
         if (platformQueues[BubblesCategory]) {
             var view = new BubbleQueueView(platformQueues[BubblesCategory]);
             cell.appendChild(view.element);