How to enable the right-click context menu?
-
- Posts: 229
- Joined: Sat Mar 01, 2014 3:02 pm
How to enable the right-click context menu?
Getting a context-menu by right-clicking seems to be disabled in SB, how do I enable it?
-
- Posts: 229
- Joined: Sat Mar 01, 2014 3:02 pm
Re: How to enable the right-click context menu?
I found the answer from RSBasic:
Code: Select all
Procedure DisableSiteContextMenu(state)
If state
! $('body').attr("oncontextmenu", "return false;");
Else
! $('body').attr("oncontextmenu", "");
EndIf
EndProcedure