mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
[Basilisk] Remove unused functionality for reporting crashes to an external server
This commit is contained in:
parent
a11b107f18
commit
e73c73a426
2 changed files with 3 additions and 21 deletions
|
|
@ -209,27 +209,12 @@ var gAdvancedPane = {
|
|||
// DATA CHOICES TAB
|
||||
|
||||
/**
|
||||
* Set up or hide the Learn More links for various data collection options
|
||||
*/
|
||||
_setupLearnMoreLink: function (pref, element) {
|
||||
// set up the Learn More link with the correct URL
|
||||
let url = Services.prefs.getCharPref(pref);
|
||||
let el = document.getElementById(element);
|
||||
|
||||
if (url) {
|
||||
el.setAttribute("href", url);
|
||||
} else {
|
||||
el.setAttribute("hidden", "true");
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
*
|
||||
* We don't report crashes to any external servers so there is nothing to learn more about.
|
||||
*/
|
||||
initSubmitCrashes: function ()
|
||||
{
|
||||
this._setupLearnMoreLink("toolkit.crashreporter.infoURL",
|
||||
"crashReporterLearnMore");
|
||||
let element = document.getElementById(crashReporterLearnMore);
|
||||
element.setAttribute("hidden", "true");
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue