Aug 16, 2012, 7:07 PM
[CLOSED] How to enable browser right click context menu on specific controls?
Hi,
I have the following code preventing a native right-click context menu on the entire document:
I have the following code preventing a native right-click context menu on the entire document:
<ext:ResourceManager ID="ResourceManager1" runat="server" DirectMethodNamespace="X">
<Listeners>
<DocumentReady Handler="
Ext.get(window.document).on('contextmenu', function (e) {
e.preventDefault();
return false;
});" />
</Listeners>
</ext:ResourceManager>
How can I re-enable this behavior, preferably in the same block of code, for specific controls like TextArea?
Last edited by Daniil; Aug 17, 2012 at 2:30 PM.
Reason: [CLOSED]