Closed
Bug 78360
Opened 24 years ago
Closed 21 years ago
JavaScript Error: gContextMenu has no properties
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: alexeyc2003, Assigned: neil)
Details
(Keywords: polish)
Attachments
(2 files)
2.24 KB,
patch
|
timeless
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
968 bytes,
patch
|
timeless
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
OS: Win2K
Build: 2001043020
JavaScript Console message:
Error: gMessagePaneContextMenu has no properties
I found gMessagePaneContextMenu being used inside mailWindowOverlay.xul
Steps to reproduce:
1. select a message.
2. right click inside messagepane to bring up context menu.
3. hover mouse either over "Move To" or "Copy To" menu item so that submenu expands.
4. Click inside messagepane.
Reproducible: Always
Reporter | ||
Comment 1•24 years ago
|
||
Alternative steps to reproduce:
1. select a message.
2. right click inside messagepane to bring up context menu.
3. hover mouse either over "Move To" or "Copy To" menu item so that submenu expands.
4. Hover mouse over an item inside the submenu so it expands too.
5. Hover mouse over some other item in root menu so that both submenus disappear.
Comment 2•24 years ago
|
||
This is XP code. Seth, if this is an easy fix and you know where to look, can
you describe it here, and I might take a look myself.
OS: Windows 2000 → All
Hardware: PC → All
Reporter | ||
Comment 3•23 years ago
|
||
gMessagePaneContextMenu variable has been renamed to gContextMenu.
So now I'm seeing the following error every time in context menu a parent of a
submenu gets closed:
Error: gContextMenu has no properties
gContextMenu is now being used inside the following files:
/mailnews/base/resources/content/mailWindowOverlay.xul
/mailnews/base/resources/content/mailContextMenus.js
/mailnews/base/resources/content/mailNavigatorOverlay.xul
However, as per my original bug report the code that generates the error is
probably still somewhere in mailWindowOverlay.xul
CCing ben and racham since they might be familiar with the use of this variable.
Summary: JavaScript Error: gMessagePaneContextMenu has no properties → JavaScript Error: gContextMenu has no properties
Assignee | ||
Comment 4•23 years ago
|
||
Assignee | ||
Comment 5•23 years ago
|
||
The error is caused by the popuphidden handler for the messagepaneContext popup.
However, the cause of the error is revealed by the previous strict JS warning
(always assuming that you have remembered to turn them on :-)
gContextMenu never gets declared in the standalone message window.
The 3pane windows declare gContextMenu indirectly because the sidebar overlays
chrome://communicator/content/contentAreaContextOverlay.xul
Attachment #84417 -
Flags: review+
Assignee | ||
Updated•21 years ago
|
Attachment #84417 -
Flags: superreview?(bienvenu)
Updated•21 years ago
|
Attachment #84417 -
Flags: superreview?(bienvenu) → superreview+
Assignee | ||
Comment 6•21 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 7•21 years ago
|
||
This is back, at least in 2003-12-18 and 2003-12-28 on Win2k.
The steps to reproduce this are still valid.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 8•21 years ago
|
||
Attachment #138073 -
Flags: superreview?(bryner)
Attachment #138073 -
Flags: review+
Updated•21 years ago
|
Attachment #138073 -
Flags: superreview?(bryner) → superreview+
Assignee | ||
Comment 9•21 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•