Bug 533764 - Go button doesn't show up on startup [r=mark.finkle]
authorVivien Nicolas <21@vingtetun.org>
Tue, 15 Dec 2009 15:39:30 -0500
changeset 65918 ad3b0f83d90aefaceb453721ac9f22f2a24d716c
parent 65917 f84568d171f10b3666412da2f029b7b77f98a11b
child 65919 0529376c8f1a68fbde2bca853d12d3184e9ff216
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmark
bugs533764
Bug 533764 - Go button doesn't show up on startup [r=mark.finkle]
mobile/chrome/content/browser.js
--- a/mobile/chrome/content/browser.js
+++ b/mobile/chrome/content/browser.js
@@ -533,18 +533,20 @@ var Browser = {
           whereURI = cmdLine.resolveURI(uriFlag);
           if (whereURI)
             whereURI = whereURI.spec;
         }
       } catch (e) {}
     }
 
     this.addTab(whereURI, true);
-    if (whereURI == "about:blank")
+    if (whereURI == "about:blank") {
+      BrowserUI.showToolbar(true);
       BrowserUI.showAutoComplete();
+    }
 
     // JavaScript Error Console
     if (gPrefService.getBoolPref("browser.console.showInPanel")){
       let tool_console = document.getElementById("tool-console");
       tool_console.hidden = false;
     }
 
     bv.commitBatchOperation();