mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 999993 - netmonitor shows useless context menu separator. r=vporof
This commit is contained in:
parent
487f39bd82
commit
43f3dec08a
@ -1622,6 +1622,9 @@ RequestsMenuView.prototype = Heritage.extend(WidgetMethods, {
|
||||
!selectedItem.attachment.responseContent ||
|
||||
!selectedItem.attachment.responseContent.content.mimeType.contains("image/");
|
||||
|
||||
let separator = $("#request-menu-context-separator");
|
||||
separator.hidden = !selectedItem;
|
||||
|
||||
let newTabElement = $("#request-menu-context-newtab");
|
||||
newTabElement.hidden = !selectedItem;
|
||||
},
|
||||
|
@ -38,7 +38,7 @@
|
||||
<menuitem id="request-menu-context-resend"
|
||||
label="&netmonitorUI.summary.editAndResend;"
|
||||
accesskey="&netmonitorUI.summary.editAndResend.accesskey;"/>
|
||||
<menuseparator/>
|
||||
<menuseparator id="request-menu-context-separator"/>
|
||||
<menuitem id="request-menu-context-perf"
|
||||
label="&netmonitorUI.context.perfTools;"
|
||||
accesskey="&netmonitorUI.context.perfTools.accesskey;"/>
|
||||
|
Loading…
Reference in New Issue
Block a user