How to enable the right-click context menu?

Everything else that doesn't fall into one of the other categories.
the.weavster
Posts: 229
Joined: Sat Mar 01, 2014 3:02 pm

How to enable the right-click context menu?

Post by the.weavster »

Getting a context-menu by right-clicking seems to be disabled in SB, how do I enable it?
the.weavster
Posts: 229
Joined: Sat Mar 01, 2014 3:02 pm

Re: How to enable the right-click context menu?

Post by the.weavster »

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
Post Reply