Sample Viewer: how to prevent bubbling on right clicks

Discussion created by asadim on Apr 14, 2010
Does anybody know where I should add the code for preventing event bubbling on right clicks? For example if I'm in a certain widget I want to right click on the map and see my own custom menu as opposed to the default browser one.

Any ideas? Thanks.