зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1612979 - Fix bug where message about a prefrence is shown when the preference itself is hidden r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D63982 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
6b3d7ca106
Коммит
f55e67e699
|
@ -643,7 +643,7 @@ var gMainPane = {
|
||||||
Services.policies && !Services.policies.isAllowed("appUpdate");
|
Services.policies && !Services.policies.isAllowed("appUpdate");
|
||||||
if (updateDisabled || UpdateUtils.appUpdateAutoSettingIsLocked()) {
|
if (updateDisabled || UpdateUtils.appUpdateAutoSettingIsLocked()) {
|
||||||
document.getElementById("updateAllowDescription").hidden = true;
|
document.getElementById("updateAllowDescription").hidden = true;
|
||||||
document.getElementById("updateRadioGroup").hidden = true;
|
document.getElementById("updateSettingsContainer").hidden = true;
|
||||||
if (updateDisabled && AppConstants.MOZ_MAINTENANCE_SERVICE) {
|
if (updateDisabled && AppConstants.MOZ_MAINTENANCE_SERVICE) {
|
||||||
document.getElementById("useService").hidden = true;
|
document.getElementById("useService").hidden = true;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче