function Window_OnContextMenu(e) {
    if (e)
        e.preventDefault();    // The Gecko way.
    else {
        if (event.srcElement == document.getElementById('eSourceField'))
            return true;
    }

    return false;                // The IE way.
}
// Disable the context menu in the editor (areas outside the editor area).
Disable the context menu in the editor (areas outside the editor area).
Disable the context menu in the editor ( areas outside the editor area ) .
function Window_OnContextMenu(e) {
    if (e)
        e.preventDefault();    
    else {
        if (event.srcElement == document.getElementById('eSourceField'))
            return true;
    }
    return false;                
}
function Window_OnContextMenu ( e ) { if ( e ) e . preventDefault ( ) ; else { if ( event . srcElement == document . getElementById ( 'eSourceField' ) ) return true ; } return false ; }
Disable the context menu in the editor (areas outside the editor area).
Disable the context menu in the editor ( areas outside the editor area ) .
// The Gecko way. // The IE way.