diff options
Diffstat (limited to 'toolkit/content')
-rw-r--r-- | toolkit/content/aboutSupport.js | 19 | ||||
-rw-r--r-- | toolkit/content/aboutSupport.xhtml | 2 | ||||
-rw-r--r-- | toolkit/content/mozilla.xhtml | 6 |
3 files changed, 15 insertions, 12 deletions
diff --git a/toolkit/content/aboutSupport.js b/toolkit/content/aboutSupport.js index 95cadfbe7..5daf6d189 100644 --- a/toolkit/content/aboutSupport.js +++ b/toolkit/content/aboutSupport.js @@ -968,31 +968,32 @@ function safeModeRestart() { * Set up event listeners for buttons. */ function setupEventListeners() { - $("show-update-history-button").addEventListener("click", function (event) { +#ifdef MOZ_UPDATER + $("show-update-history-button").addEventListener("click", function(event) { var prompter = Cc["@mozilla.org/updates/update-prompt;1"].createInstance(Ci.nsIUpdatePrompt); prompter.showUpdateHistory(window); }); - $("reset-box-button").addEventListener("click", function (event) { +#endif + $("reset-box-button").addEventListener("click", function(event) { ResetProfile.openConfirmationDialog(window); }); - $("copy-raw-data-to-clipboard").addEventListener("click", function (event) { + $("copy-raw-data-to-clipboard").addEventListener("click", function(event) { copyRawDataToClipboard(this); }); - $("copy-to-clipboard").addEventListener("click", function (event) { + $("copy-to-clipboard").addEventListener("click", function(event) { copyContentsToClipboard(); }); - $("profile-dir-button").addEventListener("click", function (event) { + $("profile-dir-button").addEventListener("click", function(event) { openProfileDirectory(); }); - $("restart-in-safe-mode-button").addEventListener("click", function (event) { + $("restart-in-safe-mode-button").addEventListener("click", function(event) { if (Services.obs.enumerateObservers("restart-in-safe-mode").hasMoreElements()) { Services.obs.notifyObservers(null, "restart-in-safe-mode", ""); - } - else { + } else { safeModeRestart(); } }); - $("verify-place-integrity-button").addEventListener("click", function (event) { + $("verify-place-integrity-button").addEventListener("click", function(event) { PlacesDBUtils.checkAndFixDatabase(function(aLog) { let msg = aLog.join("\n"); $("verify-place-result").style.display = "block"; diff --git a/toolkit/content/aboutSupport.xhtml b/toolkit/content/aboutSupport.xhtml index f5939a6eb..e2885c8b8 100644 --- a/toolkit/content/aboutSupport.xhtml +++ b/toolkit/content/aboutSupport.xhtml @@ -99,6 +99,7 @@ </tr> #ifndef ANDROID +#ifdef MOZ_UPDATER <tr class="no-copy"> <th class="column"> &aboutSupport.appBasicsUpdateHistory; @@ -111,6 +112,7 @@ </td> </tr> #endif +#endif #ifdef MOZ_UPDATER <tr> diff --git a/toolkit/content/mozilla.xhtml b/toolkit/content/mozilla.xhtml index 1ffde19e4..2acfc9f5d 100644 --- a/toolkit/content/mozilla.xhtml +++ b/toolkit/content/mozilla.xhtml @@ -13,7 +13,7 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset='utf-8' /> - <title>&mozilla.title.15.1;</title> + <title>&chronicles.title.55.2;</title> <style> html { @@ -54,11 +54,11 @@ a { <section> <p id="moztext"> - &mozilla.quote.15.1; + &chronicles.quote.55.2; </p> <p id="from"> - &mozilla.from.15.1; + &chronicles.from.55.2; </p> </section> |