From bcbfffaa4bacc5d6bb0c30cf550417b8f0140982 Mon Sep 17 00:00:00 2001 From: "mozilla.mano%sent.com" Date: Sat, 14 Apr 2007 16:08:51 +0000 Subject: [PATCH] Bug 377397 - Clicking padlock in url bar no longer shows page security info. r=f.qu@queze.net. --- browser/base/content/pageinfo/pageInfo.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/browser/base/content/pageinfo/pageInfo.js b/browser/base/content/pageinfo/pageInfo.js index fdaca6e7554..81f615a178e 100644 --- a/browser/base/content/pageinfo/pageInfo.js +++ b/browser/base/content/pageinfo/pageInfo.js @@ -343,7 +343,8 @@ function onLoadPageInfo() var radioGroup = document.getElementById("viewGroup"); initialTab = document.getElementById(initialTab + "Tab") || document.getElementById("generalTab"); radioGroup.selectedItem = initialTab; - initialTab.focus(); + radioGroup.selectedItem.doCommand(); + radioGroup.focus(); } function onUnloadPageInfo()