this._contextMenuWithMouse = false;
if(e.keyCode == dojo.keys.F10){
dojo.stopEvent(e);
if(e.shiftKey&& e.type=="keydown"){// FF: copying the wrong property from e will cause the system// context menu to appear in spite of stopEvent. Don't know// exactly which properties cause this effect.var _e = { target: e.target, pageX: e.pageX, pageY: e.pageY};
_e.preventDefault = _e.stopPropagation = function(){};
// IE: without the delay, focus work in "open" causes the system// context menu to appear in spite of stopEvent.
window.setTimeout(dojo.hitch(this, function(){this._openMyself(_e); }), 1);
}}