зеркало из https://github.com/mozilla/pjs.git
fix for #75611. the Message | Mark menu item is supposed to have a seperator between it and the
"Ignore Thread" menu item when reading a news message. fix by andreas.premstaller@uibk.ac.at, r/sr=sspitzer
This commit is contained in:
Родитель
cbbde9937e
Коммит
5de880290f
|
@ -231,6 +231,10 @@ function InitMessageMenu()
|
|||
}
|
||||
|
||||
// we only kill and watch threads for news
|
||||
var threadMenuSeparator = document.getElementById("threadItemsSeparator");
|
||||
if (threadMenuSeparator) {
|
||||
threadMenuSeparator.setAttribute("hidden", isNews ? "" : "true");
|
||||
}
|
||||
var killThreadMenuItem = document.getElementById("killThread");
|
||||
if (killThreadMenuItem) {
|
||||
killThreadMenuItem.setAttribute("hidden", isNews ? "" : "true");
|
||||
|
|
|
@ -1236,6 +1236,7 @@ Rights Reserved.
|
|||
<menuitem type="checkbox" id="markFlaggedMenuItem" label="&markFlaggedCmd.label;" accesskey="&markFlaggedCmd.accesskey;" observes="cmd_markAsFlagged"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menuseparator id="threadItemsSeparator"/>
|
||||
<menuitem label="&killThreadMenu.label;"
|
||||
accesskey="&killThreadMenu.accesskey;"
|
||||
key="key_killThread"
|
||||
|
|
Загрузка…
Ссылка в новой задаче