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(),