Hi all,
I have created the page by overwritting the css and when moving to any doctype it is not automatically refreshed and showing that doctype as expanded. when refresh the page comes to normal.
Even when moving from the page to doctype the changes done in the page are not automatically reflected to the doctype. When refresh it is done. How to do the auto refresh in the doctype.
I want to write custom script for the customer list .(For example: when user enters a new customer, then the customer list page doesn’t reload automatically)
please help for the refresh script
I used the localStorage object to flag the browser and track if the page needs to be reload based on the changes of the URL of your browser.
Hint: You can add it on your customer_list.js if you wish, however I would recommend to add a global JS file and then append that file via hooks to the whole app so that you have a broader scope.