Bug 1792691 - remove obsolete "help" dialog button reference. r=kaie
authorMagnus Melin <mkmelin+mozilla@iki.fi>
Thu, 29 Sep 2022 07:30:19 +0000
changeset 36827 2008a74f9d8f9dd113283b9103467983fa645b32
parent 36826 bbe2423152f371f8760fb0358f689beb3fc1cd09
child 36828 0bd0cd44c871acbab9caea4636c2d2ad319eb696
push id20340
push usergeoff@darktrojan.net
push dateThu, 29 Sep 2022 22:33:58 +0000
treeherdercomm-central@30cbbf5e4bdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskaie
bugs1792691
Bug 1792691 - remove obsolete "help" dialog button reference. r=kaie Differential Revision: https://phabricator.services.mozilla.com/D158313
mail/extensions/openpgp/content/ui/enigmailMsgBox.js
--- a/mail/extensions/openpgp/content/ui/enigmailMsgBox.js
+++ b/mail/extensions/openpgp/content/ui/enigmailMsgBox.js
@@ -7,17 +7,16 @@
 "use strict";
 
 var { AppConstants } = ChromeUtils.import(
   "resource://gre/modules/AppConstants.jsm"
 );
 
 function onLoad() {
   var dlg = document.getElementById("enigmailMsgBox");
-  dlg.getButton("help").setAttribute("hidden", "true");
   dlg.getButton("cancel").setAttribute("hidden", "true");
   dlg.getButton("extra1").setAttribute("hidden", "true");
   dlg.getButton("extra2").setAttribute("hidden", "true");
 
   document.getElementById("filler").maxWidth = screen.availWidth - 50;
   //dlg.maxHeight = screen.availHeight;
 
   let args = window.arguments[0];