Try ERPNext Try Frappe Cloud Buy Support Partners Foundation

Hiding edit button in comments in form

I want to write a custom script to hide the edit button in comments in the timeline area.
ps-Thanks in advance

you can use jquery to hide the button
for example
$( ".media-body .media-content-wrapper .edit-btn-container" ).hide();

2 Likes

Thank you mate that worked like a charm.
As I am new to frappe can you guide me how can I learn to write these kind of scripts.Thanks Agan.

This is jquery library, you need to learn it to interact with js and frappe

1 Like