mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
Codacy corrections
This commit is contained in:
@@ -29,7 +29,7 @@ frappe.ui.form.on('Bank Account', {
|
|||||||
frm.add_custom_button(__("Unlink external integrations"), function() {
|
frm.add_custom_button(__("Unlink external integrations"), function() {
|
||||||
frappe.confirm(__("This action will unlink this account from any external service integrating ERPNext with your bank accounts. It cannot be undone. Are you certain ?"), function() {
|
frappe.confirm(__("This action will unlink this account from any external service integrating ERPNext with your bank accounts. It cannot be undone. Are you certain ?"), function() {
|
||||||
frm.set_value("integration_id", "");
|
frm.set_value("integration_id", "");
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ erpnext.integrations.plaidLink = class plaidLink {
|
|||||||
el.addEventListener('error', reject);
|
el.addEventListener('error', reject);
|
||||||
el.addEventListener('abort', reject);
|
el.addEventListener('abort', reject);
|
||||||
document.head.appendChild(el);
|
document.head.appendChild(el);
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
onScriptLoaded(me) {
|
onScriptLoaded(me) {
|
||||||
@@ -72,7 +72,7 @@ erpnext.integrations.plaidLink = class plaidLink {
|
|||||||
key: me.plaid_public_key,
|
key: me.plaid_public_key,
|
||||||
onSuccess: me.plaid_success,
|
onSuccess: me.plaid_success,
|
||||||
product: me.product
|
product: me.product
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
onScriptError(error) {
|
onScriptError(error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user