Closed
Bug 24315
Opened 25 years ago
Closed 25 years ago
problems with overlays and popups.
Categories
(Core :: XUL, defect, P3)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mscott, Assigned: hyatt)
Details
I have a popup defined in messenger.xul that looks like: <popupset> <popup id="emailAddressPopup" popupanchor="bottomleft"> <menuitem value="&AddToAddressBook.label;" oncommand="AddNodeToAddressBook(document.popupElement)"/> <menuseparator/> <menuitem value="&SendMailTo.label;" oncommand="SendMailToNode(document.popupElement)"/> </popup> </popupset> In the commercial build, I have an overlay which attempts to add a menu item to this popup: <popupset> <popup id="emailAddressPopup"> <menuseparator/> <menuitem value="insert label" oncommand="foo();"/> </popup> </popupset> When I invoke the popup, I expected to see the menu item I added in the commercial build inside the popup I defined in messenger.xul. i.e. the two examples above should be merged into a single popup. Instead, I only see the contents as defined in messenger.xul. My extra menu item doesn't show up.
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 1•25 years ago
|
||
This is bad XUL. The <overlay> tag's immediate children are the ones that get merged in. You don't need a <popupset> over in the overlay.
Reporter | ||
Comment 2•25 years ago
|
||
Thanks...removing the popupset fixed it!
BULK MOVE: Changing component from XUL to XP Toolkit/Widgets: XUL. XUL component will be deleted.
Component: XUL → XP Toolkit/Widgets: XUL
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•