diff --git a/apps/spreadsheeteditor/main/app/view/ChartTypeDialog.js b/apps/spreadsheeteditor/main/app/view/ChartTypeDialog.js index 3e8c3abf1e..c518659adb 100644 --- a/apps/spreadsheeteditor/main/app/view/ChartTypeDialog.js +++ b/apps/spreadsheeteditor/main/app/view/ChartTypeDialog.js @@ -442,11 +442,14 @@ define([ } }, - onSelectSeries: function(listView, itemView, item) { + onSelectSeries: function(listView, itemView, item, fromKeyDown) { if (item && item.get('controls')) { var controls = item.get('controls'), res = Common.UI.FocusManager.insert(this, [controls.combobox, controls.checkbox], -1 * this.getFooterButtons().length); (res!==undefined) && (controls.index = res); + fromKeyDown && setTimeout(function(){ + listView.focus(); + }, 1); } }, diff --git a/apps/spreadsheeteditor/main/app/view/ChartWizardDialog.js b/apps/spreadsheeteditor/main/app/view/ChartWizardDialog.js index 9835adce7a..21ab02d9b9 100644 --- a/apps/spreadsheeteditor/main/app/view/ChartWizardDialog.js +++ b/apps/spreadsheeteditor/main/app/view/ChartWizardDialog.js @@ -425,11 +425,14 @@ define(['common/main/lib/view/AdvancedSettingsWindow', } }, - onSelectSeries: function(listView, itemView, item) { + onSelectSeries: function(listView, itemView, item, fromKeyDown) { if (item && item.get('controls')) { var controls = item.get('controls'), res = Common.UI.FocusManager.insert(this, [controls.combobox, controls.checkbox], -1 * this.getFooterButtons().length); (res!==undefined) && (controls.index = res); + fromKeyDown && setTimeout(function(){ + listView.focus(); + }, 1); } },