Need to hide start/pause/stop icon from time worked field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 12:14 PM
How can I hide or remove this icon?
I found a solution for just the incident table but would like to expand this to all task related tables and anything else that is utilizing the time_worked field.
Working solution for INC records via onLoad Client Script:
$j('div[id="element.incident.time_worked"]').children('.form-field-addons').hide();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 04:35 PM
Hi @MBarrott,
You can apply the script on the [task] table and in the Client Script, select 'Inherited' to true to apply the script across all Task extended tables.
Since this is DOM manipulation, I wouldn't recommend it but the above should fix your issue.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2024 06:26 PM
Hi @MBarrott ,
Please refer to below thread:
If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!
Thanks & Regards,
Sumanth Meda
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 08:21 AM
Hi @MBarrott ,
I have written same on load script for incident, but it is not working. I don't see second alert. Any suggestion?