Browse Source

[minor][fix] check boot.systemdefaults too

version-14
Saurabh 8 years ago
parent
commit
bf0198f08b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/frappe/misc/number_format.js

+ 1
- 1
frappe/public/js/frappe/misc/number_format.js View File

@@ -153,7 +153,7 @@ function get_currency_symbol(currency) {
}

function get_number_format(currency) {
return (frappe.boot && frappe.boot.sysdefaults.number_format) || "#,###.##";
return (frappe.boot && frappe.boot.sysdefaults && frappe.boot.sysdefaults.number_format) || "#,###.##";
}

function get_number_format_info(format) {


Loading…
Cancel
Save