commit | 3248e0bb3e2d02e276466aee8d0db7d454a1c9ed | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Fri Dec 07 15:20:23 2018 +0530 |
committer | GitHub <noreply@github.com> | Fri Dec 07 15:20:23 2018 +0530 |
tree | 2aa678724c9a7e13e4a90f25b908ae351ee89bf6 | |
parent | 1b529d997c9bf79b0c584f55e2c9c636f1625f18 [diff] | |
parent | 40c15348dab7e486e7cb5dce8c203fced1979a3b [diff] |
Merge pull request #16163 from netchampfaris/hotfix-setupwizard-abbr fix(setup-wizard): Validate abbr length before switching to next slide
diff --git a/erpnext/public/js/setup_wizard.js b/erpnext/public/js/setup_wizard.js index 484d81d..75a2759 100644 --- a/erpnext/public/js/setup_wizard.js +++ b/erpnext/public/js/setup_wizard.js
@@ -97,6 +97,9 @@ if (!this.values.company_abbr) { return false; } + if (this.values.company_abbr.length > 5) { + return false; + } return true; } },