Bug 1120221 - Make the EOL banner display in embedded mode too
authorEd Morley <emorley@mozilla.com>
Thu, 26 Feb 2015 10:12:08 +0000
changeset 1513 928dc210f588
parent 1512 9e445e011814
child 1514 e6720cf640e1
push id874
push useremorley@mozilla.com
push dateThu, 26 Feb 2015 10:12:23 +0000
bugs1120221
Bug 1120221 - Make the EOL banner display in embedded mode too
js/Controller.js
--- a/js/Controller.js
+++ b/js/Controller.js
@@ -61,17 +61,18 @@ var Controller = {
     this._trackingTip = initialPushRangeParams.trackTip;
     this._initialDataLoad(initialPushRange);
     var self = this;
     this._loadInterval = setInterval(function startStatusRequestIntervalCallback() {
       self.refreshData();
     }, Config.loadInterval * 1000);
 
     if (params.embed) {
-      document.getElementById("topbar").style.display = "none";
+      document.getElementById("topbar").style.visibility = "hidden";
+      document.getElementById("messages").style.visibility = "visible";
       document.getElementById("container").style.top = "0px";
       document.getElementById("container").style.padding = "2px";
     }
 
     // Initialize the tree status then update it every 2 minutes.
     self.refreshTreeStatus();
     setInterval(function () { self.refreshTreeStatus(); }, 1000 * 60 * 2);
   },