- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 11:09 AM
Im using Standard Ticket on my csp portal and want to modify the standard ticket tab - attachments so that there is not the edit icon. I'm trying to make it where someone cannot change the name of the attachment.
Where do i go to remove that edit button?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2024 10:17 PM
Hi @Mike Stockman1
please use below script . create a onload client script on the table you want to remove a edit button
function onLoad() {
var editButton = top.document.querySelector('button[aria-label="Edit Attachments mode"]');
if (editButton) {
editButton.style.display = 'none';
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2024 07:50 AM
This worked. Thanks!