MenuManager.hidePopup Member

Internal use only.

Syntax

object.hidePopup(event);

Arguments

ArgumentSummary
event

Returns

Remarks

hidePopup is called from the "onpopuphiding" event of menus managed by the CommandManager.  Clean up this.cxStore, but not this.cx because that messes up nested menus.

See Also

Source Code

function mmgr_hidepop(event)
{
var popup = event.originalTarget;
var menuName = popup.getAttribute("menuName");
if (typeof this.onCallbackPopupHiding == "function")
this.onCallbackPopupHiding(event, this.cxStore[menuName], popup);
delete this.cxStore[menuName];
return true;
}