mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
parent
75971a4c80
commit
0103cdc8a5
5 changed files with 1 additions and 736 deletions
|
|
@ -11,10 +11,9 @@
|
|||
// so we have to use different names.
|
||||
const {classes: CoC, interfaces: CoI, results: CoR, utils: CoU} = Components;
|
||||
|
||||
/* globals DownloadUtils, Services, AUSTLMY */
|
||||
/* globals DownloadUtils, Services */
|
||||
CoU.import("resource://gre/modules/DownloadUtils.jsm", this);
|
||||
CoU.import("resource://gre/modules/Services.jsm", this);
|
||||
CoU.import("resource://gre/modules/UpdateTelemetry.jsm", this);
|
||||
|
||||
const XMLNS_XUL = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||
|
||||
|
|
@ -115,15 +114,6 @@ var gUpdates = {
|
|||
*/
|
||||
_runUnload: true,
|
||||
|
||||
/**
|
||||
* Submit on close telemtry values for the update wizard.
|
||||
* @param pageID
|
||||
* The page id for the last page displayed.
|
||||
*/
|
||||
_submitTelemetry: function(aPageID) {
|
||||
AUSTLMY.pingWizLastPageCode(aPageID);
|
||||
},
|
||||
|
||||
/**
|
||||
* Helper function for setButtons
|
||||
* Resets button to original label & accesskey if string is null.
|
||||
|
|
@ -242,7 +232,6 @@ var gUpdates = {
|
|||
var pageid = document.documentElement.currentPage.pageid;
|
||||
if ("onWizardFinish" in this._pages[pageid])
|
||||
this._pages[pageid].onWizardFinish();
|
||||
this._submitTelemetry(pageid);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
@ -254,7 +243,6 @@ var gUpdates = {
|
|||
var pageid = document.documentElement.currentPage.pageid;
|
||||
if ("onWizardCancel" in this._pages[pageid])
|
||||
this._pages[pageid].onWizardCancel();
|
||||
this._submitTelemetry(pageid);
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue