diff --git a/suite/common/contentAreaContextOverlay.xul b/suite/common/contentAreaContextOverlay.xul index eee73c4bb346..637efdd10405 100644 --- a/suite/common/contentAreaContextOverlay.xul +++ b/suite/common/contentAreaContextOverlay.xul @@ -43,8 +43,8 @@ hidden/shown upon display, based on what the user has clicked-on. --> + onpopupshowing="if (event.target != this) return true; gContextMenu = new nsContextMenu( this ); return gContextMenu.shouldDisplay;" + onpopuphiding="if (event.target == this) gContextMenu = null;">