b=451576, r=gavin. uncaught exceptions on startup

This commit is contained in:
Mark Finkle 2008-09-06 23:06:04 -05:00
parent 41d3418a91
commit 6cefc23c10

View File

@ -328,6 +328,11 @@ var BrowserUI = {
/* Set the location to the current content */ /* Set the location to the current content */
setURI : function() { setURI : function() {
var browser = Browser.currentBrowser; var browser = Browser.currentBrowser;
// FIXME: deckbrowser should not fire TebSelect on the initial tab (bug 454028)
if (!browser.currentURI)
return;
var back = document.getElementById("cmd_back"); var back = document.getElementById("cmd_back");
var forward = document.getElementById("cmd_forward"); var forward = document.getElementById("cmd_forward");