Closed
Bug 38619
Opened 25 years ago
Closed 25 years ago
Cannot hide a menu in a top level menubar
Categories
(Core :: XUL, defect, P1)
Tracking
()
RESOLVED
FIXED
M16
People
(Reporter: bugzilla, Assigned: saari)
Details
(Keywords: platform-parity)
Apparently, menu doesn't listen to the attribute "hidden".
Here is was I am doing to remove some top level menu which is working on Windows
and Linux:
document.getElementById("formatMenu").setAttribute("hidden", true);
You can test that by opening a plaintext message compose. The format menu should
not be visible.
Assignee | ||
Comment 1•25 years ago
|
||
Okay, I just wrote the code, I'll test it when my build is done.
Status: NEW → ASSIGNED
Priority: P3 → P1
Target Milestone: --- → M16
Assignee | ||
Comment 2•25 years ago
|
||
Fixed
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 3•25 years ago
|
||
over to jrgm to verify.
Keywords: pp
QA Contact: sairuh → jrgm
Summary: [PP] Cannot hide a menu in a top level menubar → Cannot hide a menu in a top level menubar
Reporter | ||
Comment 4•25 years ago
|
||
Still not working for me!
Comment 5•25 years ago
|
||
Hmm. I'll reopen based on above comment, but it *does* work for me on win95
(I'll check mac and linux tomorrow, going home now).
I redefined the 'Search' button on the browser to do
document.getElementById('menu_close').setAttribute('hidden', true);
and this does hide the 'File->Close' <menuitem> from the 'File' menu (on win32
at least).
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 6•25 years ago
|
||
This is only a Mac problem.
Assignee | ||
Comment 7•25 years ago
|
||
ducarroz, stop by and show me your test case please.
Comment 8•25 years ago
|
||
I tested using the method noted above (redefine the search button on the
browser to hide the 'File->Close' menu item). This worked on win32 and linux,
but not Mac.
Assignee | ||
Comment 9•25 years ago
|
||
Okay, I fixed it for real this time.
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•