Bug 1497009 - Add the mailContext-sep-editTemplate separator to the hideIfAppropriate group. r=jorgk
authorRichard Marti <richard.marti@gmail.com>
Sat, 06 Oct 2018 23:57:36 +0200
changeset 33324 bf1c31c2f2b2f7357a25bc1db582607c6d214cd4
parent 33323 fb92a1a67492327d7a3c0f5d38c2c28ac47fc523
child 33325 b483bf18ee58fe1dd5b3a8e94e770fa12ecad6ec
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersjorgk
bugs1497009
Bug 1497009 - Add the mailContext-sep-editTemplate separator to the hideIfAppropriate group. r=jorgk
mail/base/content/nsContextMenu.js
--- a/mail/base/content/nsContextMenu.js
+++ b/mail/base/content/nsContextMenu.js
@@ -399,17 +399,17 @@ nsContextMenu.prototype = {
   initSeparators: function CM_initSeparators() {
     const mailContextSeparators = [
       "mailContext-sep-open-browser", "mailContext-sep-link",
       "mailContext-sep-open", "mailContext-sep-open2",
       "mailContext-sep-reply", "paneContext-afterMove",
       "mailContext-sep-afterTagAddNew", "mailContext-sep-afterTagRemoveAll",
       "mailContext-sep-afterMarkAllRead", "mailContext-sep-afterMarkFlagged",
       "mailContext-sep-afterMarkMenu", "mailContext-afterWatchThread",
-      "mailContext-sep-edit",
+      "mailContext-sep-edit", "mailContext-sep-editTemplate",
       "mailContext-sep-copy", "mailContext-sep-reportPhishing",
       "mailContext-sep-undo", "mailContext-sep-clipboard",
       "mailContext-spell-suggestions-separator", "mailContext-spell-separator",
     ];
     mailContextSeparators.forEach(this.hideIfAppropriate, this);
 
     this.checkLastSeparator(this.menu);
   },