diff --git a/xpfe/appshell/src/nsWebShellWindow.cpp b/xpfe/appshell/src/nsWebShellWindow.cpp index 5e05e775736e..9aecc5f18cef 100644 --- a/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/xpfe/appshell/src/nsWebShellWindow.cpp @@ -835,7 +835,8 @@ void nsWebShellWindow::DoContextMenu( NS_RELEASE(supports); pnsContextMenu->SetLocation(aX,aY); // Set webshell - //pnsContextMenu->SetWebShell( ); + pnsContextMenu->SetWebShell( mWebShell ); + // Set DOM node pnsContextMenu->SetDOMNode( aMenuNode );