From 5265c7c9f78f0bb5bcfe992b7989bea73e2af51f Mon Sep 17 00:00:00 2001 From: "gavin%gavinsharp.com" Date: Fri, 26 Aug 2005 20:20:22 +0000 Subject: [PATCH] Bug 305794: Report A Broken Web Site, Privacy Policy link not working, r=mconnor, a=asa git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@179093 18797224-902f-48f8-a5cc-f745e15eee43 --- .../resources/content/reporter/reportWizard.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mozilla/extensions/reporter/resources/content/reporter/reportWizard.js b/mozilla/extensions/reporter/resources/content/reporter/reportWizard.js index 0cd3ab59472..539e7fa002b 100644 --- a/mozilla/extensions/reporter/resources/content/reporter/reportWizard.js +++ b/mozilla/extensions/reporter/resources/content/reporter/reportWizard.js @@ -84,11 +84,6 @@ function getCharPref(prefname, aDefault) { } } -function openPrivacyPolicy() { - var url = getCharPref("privacyURL", "http://reporter.mozilla.org/privacy/"); - openDialog(window.opener.getBrowserURL(), "_blank", "chrome,all,dialog=no", url, null, null); -} - function initPrivacyNotice() { var reportWizard = document.getElementById('reportWizard'); // If they agreed, we continue on @@ -128,6 +123,11 @@ function initForm() { // Change next button to "submit report" reportWizard.getButton('next').label = strbundle.getString("submitReport") + ">"; + + // Set the privacy policy link href + var url = getCharPref("privacyURL", "http://reporter.mozilla.org/privacy/"); + var privacyLink = document.getElementById("privacyPolicy"); + privacyLink.setAttribute("href", url); // We don't let the user go forward until they fufill certain requirements - see validateform() reportWizard.canAdvance = false;