mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-15 15:45:01 +00:00
refactor: remove redundant onload function for bank mapping table
This commit is contained in:
@@ -3,9 +3,6 @@
|
||||
frappe.provide("erpnext.integrations");
|
||||
|
||||
frappe.ui.form.on("Bank", {
|
||||
onload: function (frm) {
|
||||
add_fields_to_mapping_table(frm);
|
||||
},
|
||||
refresh: function (frm) {
|
||||
add_fields_to_mapping_table(frm);
|
||||
frm.toggle_display(["address_html", "contact_html"], !frm.doc.__islocal);
|
||||
|
||||
Reference in New Issue
Block a user