Hide download button in document previewer for specific custom content type
I want to hide the download button in the document previewer for the specific custom content type. Right now I have hidden download button for every document in alfresco by updating AlfrescoUtil.param("showDownload", "false"); and showDownload : (model.showDownload == "false") and in node-header.get.js. How can I achieve this for specific custom content types, i.e. for one particular content type download button in the document previewer will be hidden while documents of other content types can see the Download button in the document previewer?