Hide download button in document previewer for specific custom content type
I want to hide download button in document previewer for 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 type, i.e. for one particular content type download button in the document previewer will be hidden while documents of other content types can see Download button in the document previewer.