fix: update syntax error in company.js (#19661)
This commit is contained in:
parent
046137caa2
commit
49cd19d917
@ -29,7 +29,7 @@ frappe.ui.form.on("Company", {
|
||||
|
||||
company_name: function(frm) {
|
||||
if(frm.doc.__islocal) {
|
||||
# add missing " " arg in split method
|
||||
// add missing " " arg in split method
|
||||
let parts = frm.doc.company_name.split(" ");
|
||||
let abbr = $.map(parts, function (p) {
|
||||
return p? p.substr(0, 1) : null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user