зеркало из https://github.com/mozilla/gecko-dev.git
Bug 570066 - Update UI dialogue box in Firefox disappeared before Firefox could be updated. r=dtownsend
This commit is contained in:
Родитель
b7ee2061e3
Коммит
2347f7169b
|
@ -258,12 +258,6 @@ var gUpdates = {
|
||||||
// which will clear all of the "never" prefs.
|
// which will clear all of the "never" prefs.
|
||||||
var neverPrefName = PREF_APP_UPDATE_NEVER_BRANCH + this.update.appVersion;
|
var neverPrefName = PREF_APP_UPDATE_NEVER_BRANCH + this.update.appVersion;
|
||||||
gPref.setBoolPref(neverPrefName, true);
|
gPref.setBoolPref(neverPrefName, true);
|
||||||
this.wiz.cancel();
|
|
||||||
},
|
|
||||||
|
|
||||||
later: function () {
|
|
||||||
// The user said "Later", so close the wizard
|
|
||||||
this.wiz.cancel();
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -917,11 +911,12 @@ var gUpdatesFoundBasicPage = {
|
||||||
},
|
},
|
||||||
|
|
||||||
onExtra1: function() {
|
onExtra1: function() {
|
||||||
gUpdates.later();
|
gUpdates.wiz.cancel();
|
||||||
},
|
},
|
||||||
|
|
||||||
onExtra2: function() {
|
onExtra2: function() {
|
||||||
gUpdates.never();
|
gUpdates.never();
|
||||||
|
gUpdates.wiz.cancel();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1003,12 +998,13 @@ var gUpdatesFoundBillboardPage = {
|
||||||
|
|
||||||
onExtra1: function() {
|
onExtra1: function() {
|
||||||
this.onWizardCancel();
|
this.onWizardCancel();
|
||||||
gUpdates.later();
|
gUpdates.wiz.cancel();
|
||||||
},
|
},
|
||||||
|
|
||||||
onExtra2: function() {
|
onExtra2: function() {
|
||||||
this.onWizardCancel();
|
this.onWizardCancel();
|
||||||
gUpdates.never();
|
gUpdates.never();
|
||||||
|
gUpdates.wiz.cancel();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Загрузка…
Ссылка в новой задаче