- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2016 08:09 AM
I am trying to hide play/pause button for time_worked field for Incident.
I tried using below code in onload :
$('link.incident.time_worked').hide(); but its not working for me. I tried this in Fuji and Geneva.
Only the image gets hidden, but a square still appears and we can click that too which starts/pause the timer.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2016 10:35 AM
Works on Fuji
jQuery('#link\\.incident\\.time_worked').parent().hide();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-14-2016 06:34 AM
Thanks for your answer
My script works now with
var btn_id = g_form.getControl('time_worked').getAttribute("data-uid");
gel('tmr_'+btn_id+'_img').style.display = 'none';
I just found other thing internaly what is causing the issue, it was an ui policy on the time card field I deactivate it and now the icon is hidden.
thanks
Elias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2017 03:31 PM
I have a similar issue but need to hide the pause play button on a Catalog Task, tried to add the below code and was not helpful, please suggest thanks in advance. This works fine for Incident
jQuery('#link\\.sc_task\\.time_worked').parent().hide();
I tried $('link.sc_task.time_worked').hide(); and it only removes the logo not the button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2017 03:34 PM
the below code worked thanks
var btn_id = g_form.getControl('time_worked').getAttribute("data-uid");
gel('tmr_'+btn_id+'_img').style.display = 'none';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2018 09:47 AM
Hi Kalai,
i know this is not the right forum, but may i please know the method to pause/play the timer field on kingston?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2018 05:31 AM
Hi Kalai, how to hide in sc_task form? i need to hide the pause button which is near to the time_worked field