How to desable Right Click Menu List
Hi,
How can I disable this action Right Click the list of documents? This may get me in trouble.
http://doc.nuxeo.com/display/USERDOC/Browsing+Tips?src=search
Hi,
We cannot disable easily context menus in the platform. Therefore, this ticket https://jira.nuxeo.com/browse/NXP-13293 has been created in that purpose.
Now, as a workaround, you can override related templates according to areas:
nuxeo-platform-webapp/src/main/resources/web/nuxeo.war/incl/tree_explorer.xhtml for left panel (tree) nuxeo-platform-webapp-base/src/main/resources/web/nuxeo.war/incl/documents_layout_table.xhtml for content views (grids)
To disable the menu, you can remove/comment:
<ui:param name="popupMenuId" value="#{formId}" />
</ui:include>
<script>
....
setupContextMenu(...);
</script>
at the template bottom.
Thanks for your feedback