commit | dd079d7e0256f0672a06d50f54aa647c99f93b35 | [log] [tgz] |
---|---|---|
author | Mangesh-Khairnar <mkhairnar10@gmail.com> | Tue Dec 10 16:24:51 2019 +0530 |
committer | GitHub <noreply@github.com> | Tue Dec 10 16:24:51 2019 +0530 |
tree | aa18e1616060e8f27fe14c4fb6da9383b9372d4d | |
parent | 6e2c13f4c86c73c09f13c9167717f602b701de71 [diff] | |
parent | 9cc5c18f36ec8736a688315adb520d995ed0d753 [diff] |
Merge pull request #19885 from Anurag810/leave_application_dashboard_fix fix: removed only custom dashboard
diff --git a/erpnext/hr/doctype/leave_application/leave_application.js b/erpnext/hr/doctype/leave_application/leave_application.js index e32d570..14ffa0e 100755 --- a/erpnext/hr/doctype/leave_application/leave_application.js +++ b/erpnext/hr/doctype/leave_application/leave_application.js
@@ -60,6 +60,7 @@ } } }); + $("div").remove(".form-dashboard-section.custom"); frm.dashboard.add_section( frappe.render_template('leave_application_dashboard', { data: leave_details