From 62a20347cb130cf8217c44243e0efbf7a0940b03 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 18 Jan 2024 10:45:32 +0300 Subject: [PATCH] [SSE] Fix check series --- apps/spreadsheeteditor/main/app/view/FillSeriesDialog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/FillSeriesDialog.js b/apps/spreadsheeteditor/main/app/view/FillSeriesDialog.js index bea22c982a..40937cebcf 100644 --- a/apps/spreadsheeteditor/main/app/view/FillSeriesDialog.js +++ b/apps/spreadsheeteditor/main/app/view/FillSeriesDialog.js @@ -330,7 +330,7 @@ define([ isValid: function() { if (this.isStepChanged) { var res = this._changedProps.asc_isValidStepValue(this.inputStep.getValue()); - if (res[0]!==Asc.c_oAscError.ID.No || res[1]===null) { + if (res[0]!==Asc.c_oAscError.ID.No) { this.inputStep.showError([this.txtErrorNumber]); this.inputStep.focus(); this.isInputStepFirstChange = true; @@ -340,7 +340,7 @@ define([ } if (this.isStopChanged) { var res = this._changedProps.asc_isValidStepValue(this.inputStop.getValue()); - if (res[0]!==Asc.c_oAscError.ID.No || res[1]===null) { + if (res[0]!==Asc.c_oAscError.ID.No) { this.inputStop.showError([this.txtErrorNumber]); this.inputStop.focus(); this.isInputStopFirstChange = true;