From c5fc846e9a7ba2fc2554b11797acd79bceed71ab Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 29 Nov 2024 19:18:28 +0300 Subject: [PATCH] [SSE] Fix custom delimiter --- apps/common/main/lib/view/OpenDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/main/lib/view/OpenDialog.js b/apps/common/main/lib/view/OpenDialog.js index 80d7b94684..1df02c8b81 100644 --- a/apps/common/main/lib/view/OpenDialog.js +++ b/apps/common/main/lib/view/OpenDialog.js @@ -450,7 +450,7 @@ define([ } else { var res = this.api.asc_getCSVDelimiter(text); text = res.text; - delimiter = res.delimiter; + delimiter = res.delimiter || -1; delimiterChar = delimiter===-1 ? res.delimiterChar || '' : ''; this.cmbDelimiter.setValue(delimiter); this.inputDelimiter.setVisible(delimiter===-1);