k452
1
Hello,
I want to hide the Audit Trail of a custom Doctype.
Track Changes of the Doctype is already disabled.
Audit Trail of the Doctype looks like this:
![Trail](https://discuss.frappe.io/uploads/default/original/3X/b/7/b77e7894b1af242baca79a33bc08e0780be2867a.png)
Is there something like a Client Script to hide the Audit Trail or what do i have to do to hide/delete it?
NCP
2
Hi @k452,
Please apply custom/client scipt for it.
frappe.ui.form.on("DocType", {
refresh: function (frm) {
$('.timeline-items').hide();
}
});
Set your doctype in script.
Then reload (Ctrl + Shift + R) and check it.
Thank You!
1 Like
k452
3
Hi @NCP,
Thank you very much.
I could not find a solution for this by myself, you really helped me
Hello,
I want to enable ![image](https://discuss.frappe.io/uploads/default/original/3X/9/1/9161f41f77dfa1fed3bca95a87ae2c9ef6654105.png)
Then show timeline. What is the opposite syntax of .hide()?