So I have a little JS script that runs on page load and changes the UI. Problem is it doesn’t run on page navigation because frappe UI is a single page application. How can I achieve this?
hello,
May be you can do something like
frappe.ui.form.on('DocType', {
refresh: function(frm) {
// My code
}
and replace ‘DocType’ with all doctype possible ?
1 Like