Bug 1497009 - Add the mailContext-sep-editTemplate separator to the hideIfAppropriate group. r+a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Sat, 06 Oct 2018 23:57:36 +0200
changeset 33056 a63ea27d4417
parent 33055 67b3bff2c91a
child 33057 e9f0f4d5d705
push id386
push userclokep@gmail.com
push dateTue, 23 Oct 2018 00:48:12 +0000
bugs1497009
Bug 1497009 - Add the mailContext-sep-editTemplate separator to the hideIfAppropriate group. r+a=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);
   },