From f4123ad65c192767f0b404d711765ea127f71f87 Mon Sep 17 00:00:00 2001 From: "asqueella%gmail.com" Date: Sun, 29 Apr 2007 15:21:03 +0000 Subject: [PATCH] Bug 377844 - Pop up safebrowsing EULA/select remoteLookups radio when a provider menuitem is selected p=Ryan Flint r=mano, ui-r=beltzner --- browser/components/preferences/security.js | 1 + browser/components/preferences/security.xul | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/components/preferences/security.js b/browser/components/preferences/security.js index 1c8b9c11512..7a2b7c57361 100644 --- a/browser/components/preferences/security.js +++ b/browser/components/preferences/security.js @@ -292,6 +292,7 @@ var gSecurityPane = { var item = document.createElement("menuitem"); item.setAttribute("value", providerNum); item.setAttribute("label", providerName); + item.setAttribute("oncommand", "gSecurityPane.onProviderChanged();"); popup.appendChild(item); } diff --git a/browser/components/preferences/security.xul b/browser/components/preferences/security.xul index a191944a3f0..9080676fa39 100644 --- a/browser/components/preferences/security.xul +++ b/browser/components/preferences/security.xul @@ -72,8 +72,7 @@ type="bool"/> + type="int"/>