From cb0a41f8d63a3baa4bc6ee6c7f50a4586512d59c Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 15 Dec 2022 13:44:48 +0300 Subject: [PATCH] [SSE] Fix for import xml error --- apps/spreadsheeteditor/main/app/controller/DataTab.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/controller/DataTab.js b/apps/spreadsheeteditor/main/app/controller/DataTab.js index ebe933563..1c74176c0 100644 --- a/apps/spreadsheeteditor/main/app/controller/DataTab.js +++ b/apps/spreadsheeteditor/main/app/controller/DataTab.js @@ -291,7 +291,10 @@ define([ }, onDataFromXMLCallback: function(fileContent) { - Common.Utils.InternalSettings.set('import-xml-start', false); + setTimeout(function() { + Common.Utils.InternalSettings.set('import-xml-start', false); + }, 500); + if (!fileContent) return; var me = this;