mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
Bug 1494337 - Do not display the 'triggers refresh' note if there's no option needing it r=ochameau
Depends on D6923 Differential Revision: https://phabricator.services.mozilla.com/D6920 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
f74fc26e96
commit
9ce2cbff3e
@ -467,6 +467,10 @@ OptionsPanel.prototype = {
|
|||||||
} else {
|
} else {
|
||||||
// Hide the checkbox and label
|
// Hide the checkbox and label
|
||||||
this.disableJSNode.parentNode.style.display = "none";
|
this.disableJSNode.parentNode.style.display = "none";
|
||||||
|
|
||||||
|
const triggersPageRefreshLabel =
|
||||||
|
this.panelDoc.getElementById("triggers-page-refresh-label");
|
||||||
|
triggersPageRefreshLabel.style.display = "none";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -189,6 +189,7 @@
|
|||||||
<span>&options.enableRemote.label3;</span>
|
<span>&options.enableRemote.label3;</span>
|
||||||
</label>
|
</label>
|
||||||
<span class="options-citation-label theme-comment"
|
<span class="options-citation-label theme-comment"
|
||||||
|
id="triggers-page-refresh-label"
|
||||||
>&options.context.triggersPageRefresh;</span>
|
>&options.context.triggersPageRefresh;</span>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user