[#261] String replace failed in reports (M. Kosmach)

This commit is contained in:
Oliver Gorwits
2016-02-02 08:36:54 +00:00
parent 783382378f
commit 3ac37e5e65
12 changed files with 22 additions and 21 deletions

View File

@@ -38,7 +38,7 @@ $(document).ready(function() {
"data": 'mac_count',
"searchable": false,
"render": function(data, type, row, meta) {
return data.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
return data.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
}
],