From 6ff6f314ef810958590f51fb33b1de1601df2d4c Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 5 Mar 2021 16:30:32 +0300 Subject: [PATCH] [SSE] Refactoring --- apps/spreadsheeteditor/main/app/view/PivotGroupDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;