From b7faa3589921bc32539577277da89d9a0c9acd24 Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Tue, 30 Aug 2005 23:33:36 +0000 Subject: [PATCH] Bug #303941 --> Convert update's link widget to use the existing text-link widget. This allows link clicks to work correctly in Thunderbird. sr=ben --- toolkit/mozapps/update/content/update.css | 6 --- toolkit/mozapps/update/content/updates.js | 3 +- toolkit/mozapps/update/content/updates.xml | 51 ---------------------- toolkit/mozapps/update/content/updates.xul | 20 +++------ 4 files changed, 6 insertions(+), 74 deletions(-) diff --git a/toolkit/mozapps/update/content/update.css b/toolkit/mozapps/update/content/update.css index 2553e23827c..4f2882a646a 100644 --- a/toolkit/mozapps/update/content/update.css +++ b/toolkit/mozapps/update/content/update.css @@ -33,9 +33,3 @@ checkbox[type="update"] { -moz-binding: url("chrome://mozapps/content/update/updates.xml#updateItem"); } -link { - -moz-binding: url("chrome://mozapps/content/update/updates.xml#link"); - -moz-user-focus: normal; -} - - diff --git a/toolkit/mozapps/update/content/updates.js b/toolkit/mozapps/update/content/updates.js index cdcf239e177..b4b54c575c1 100755 --- a/toolkit/mozapps/update/content/updates.js +++ b/toolkit/mozapps/update/content/updates.js @@ -1325,11 +1325,10 @@ var gErrorsPage = { var errorReason = document.getElementById("errorReason"); errorReason.value = gUpdates.update.statusText; - var errorLink = document.getElementById("errorLink"); var manualURL = getPref("getCharPref", PREF_UPDATE_MANUAL_URL, ""); - errorLink.href = manualURL; var errorLinkLabel = document.getElementById("errorLinkLabel"); errorLinkLabel.value = manualURL; + errorLinkLabel.href = manualURL; }, /** diff --git a/toolkit/mozapps/update/content/updates.xml b/toolkit/mozapps/update/content/updates.xml index b6ad501803f..ded8b438929 100644 --- a/toolkit/mozapps/update/content/updates.xml +++ b/toolkit/mozapps/update/content/updates.xml @@ -7,57 +7,6 @@ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:xbl="http://www.mozilla.org/xbl"> - - - - - - - - - - - - - - - - - - diff --git a/toolkit/mozapps/update/content/updates.xul b/toolkit/mozapps/update/content/updates.xul index a80f6ee1461..10e0de431dc 100755 --- a/toolkit/mozapps/update/content/updates.xul +++ b/toolkit/mozapps/update/content/updates.xul @@ -110,9 +110,7 @@ - - - +