Merge pull request #16163 from netchampfaris/hotfix-setupwizard-abbr

fix(setup-wizard): Validate abbr length before switching to next slide
This commit is contained in:
Nabin Hait 2018-12-07 15:20:23 +05:30 committed by GitHub
commit 3248e0bb3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,6 +97,9 @@ erpnext.setup.slides_settings = [
if (!this.values.company_abbr) {
return false;
}
if (this.values.company_abbr.length > 5) {
return false;
}
return true;
}
},