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:
Kirk Steuber 2020-03-03 18:12:34 +00:00
Родитель 6b3d7ca106
Коммит f55e67e699
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
} }