diff --git a/frappe/public/js/legacy/form.js b/frappe/public/js/legacy/form.js index a76fa6a288..7f3d14fcb8 100644 --- a/frappe/public/js/legacy/form.js +++ b/frappe/public/js/legacy/form.js @@ -317,6 +317,8 @@ _f.Frm.prototype.refresh_header = function(is_a_different_doc) { this.toolbar.refresh(); } + this.dashboard.reset(); + this.clear_custom_buttons(); this.show_web_link();