From e67c257caafb8d41de38ed5517700581dda77f0f Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 20 Aug 2020 11:14:36 +0300 Subject: [PATCH] [SSE] Fix Bug 46112 --- apps/spreadsheeteditor/main/app/controller/CellEditor.js | 2 +- apps/spreadsheeteditor/main/app/controller/DocumentHolder.js | 2 +- apps/spreadsheeteditor/main/app/controller/Toolbar.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/controller/CellEditor.js b/apps/spreadsheeteditor/main/app/controller/CellEditor.js index 40e289fa8..659f72cbc 100644 --- a/apps/spreadsheeteditor/main/app/controller/CellEditor.js +++ b/apps/spreadsheeteditor/main/app/controller/CellEditor.js @@ -284,7 +284,7 @@ define([ }, onNameBeforeShow: function() { - var names = this.api.asc_getDefinedNames(Asc.c_oAscGetDefinedNamesList.WorksheetWorkbook), + var names = this.api.asc_getDefinedNames(Asc.c_oAscGetDefinedNamesList.WorksheetWorkbook, true), rangesMenu = this.editor.btnNamedRanges.menu, prev_name=''; diff --git a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js index 079dafa95..7aebd73bd 100644 --- a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js +++ b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js @@ -548,7 +548,7 @@ define([ win.show(); win.setSettings({ sheets : items, - ranges : me.api.asc_getDefinedNames(Asc.c_oAscGetDefinedNamesList.All), + ranges : me.api.asc_getDefinedNames(Asc.c_oAscGetDefinedNamesList.All, true), currentSheet: me.api.asc_getWorksheetName(me.api.asc_getActiveWorksheetIndex()), props : props, text : cell.asc_getText(), diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index 7cd5966a0..be0c31a72 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -911,7 +911,7 @@ define([ win.show(); win.setSettings({ sheets : items, - ranges : me.api.asc_getDefinedNames(Asc.c_oAscGetDefinedNamesList.All), + ranges : me.api.asc_getDefinedNames(Asc.c_oAscGetDefinedNamesList.All, true), currentSheet: me.api.asc_getWorksheetName(me.api.asc_getActiveWorksheetIndex()), props : props, text : cell.asc_getText(),