diff --git a/apps/spreadsheeteditor/main/app/view/PivotGroupDialog.js b/apps/spreadsheeteditor/main/app/view/PivotGroupDialog.js index 0d04c2509..7fd944f9a 100644 --- a/apps/spreadsheeteditor/main/app/view/PivotGroupDialog.js +++ b/apps/spreadsheeteditor/main/app/view/PivotGroupDialog.js @@ -279,7 +279,7 @@ define([ } else { this.rangePr.asc_setStartNum(parseFloat(this.inputStart.getValue().toString().replace(',','.'))); this.rangePr.asc_setEndNum(parseFloat(this.inputEnd.getValue().toString().replace(',','.'))); - this.rangePr.asc_setGroupInterval(parseFloat(this.inputBy.getValue())); + this.rangePr.asc_setGroupInterval(parseFloat(this.inputBy.getValue().toString().replace(',','.'))); } } @@ -324,7 +324,7 @@ define([ this.inputEnd.focus(); return false; } - if (!regstr.test(this.inputBy.getValue())) { + if (!regstr.test(this.inputBy.getValue().toString())) { this.inputBy.showError([this.textError]); this.inputBy.focus(); return false;