Closed Bug 20412 Opened 25 years ago Closed 25 years ago

Need a way to close a <popup> widget after onclick handling

Categories

(Core :: XUL, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cmanske, Assigned: hyatt)

References

Details

(Whiteboard: FEB-02 waiting for help to verify)

When using a <popup> wrapper, the "window.close()" method described in
documentation no longer works because popups are no longer DOM windows.
Status: NEW → ASSIGNED
Target Milestone: M13
Blocks: 20694
Target Milestone: M13 → M14
hyatt, i'm leaving this for you, is that right? didn't you say you were going to
fix this tonight at dinner?
putting on beta1 radar
Fixed.  Popup elements now have a closePopup method.  I added this to the color 
pickers in composer to demonstrate.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
cmanske, if you could let me know if this works or not I'd appreciate it. alternately:
hyatt: does the fact that the color-picker doesn't work or doesn't close when I click a color mean that this isn't fixed?
2000020108 build WinNT
Whiteboard: FEB-02 waiting for help to verify
The color pickers in the prefs dialogs don't use <popup>, they use <menupopup>,
which doesn't close (bug 25676)
This bug refers to the Composer color popups on the toolbar, and using them
demonstrates that this bug is fixed.
yup. thanx. VERIFIED fixed with 2000020108 builds
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.