Codacy corrections

This commit is contained in:
Charles-Henri Decultot
2018-12-17 08:15:06 +00:00
parent e7fec6e659
commit 1a19746904
2 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ frappe.ui.form.on('Bank Account', {
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() {
frm.set_value("integration_id", "");
})
});
});
}
}

View File

@@ -62,7 +62,7 @@ erpnext.integrations.plaidLink = class plaidLink {
el.addEventListener('error', reject);
el.addEventListener('abort', reject);
document.head.appendChild(el);
})
});
}
onScriptLoaded(me) {
@@ -72,7 +72,7 @@ erpnext.integrations.plaidLink = class plaidLink {
key: me.plaid_public_key,
onSuccess: me.plaid_success,
product: me.product
})
});
}
onScriptError(error) {