From 528927301c1fa3a7bd7b51b96d524e6c9e2e79e0 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 20 Jun 2016 11:35:15 +0300 Subject: [PATCH] [SSE] fix bug 32593. --- apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js b/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js index a5d894e0c..e32358a51 100644 --- a/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js +++ b/apps/spreadsheeteditor/main/app/view/ChartSettingsDlg.js @@ -870,6 +870,11 @@ define([ 'text!spreadsheeteditor/main/app/template/ChartSettingsDlg.template' this.cmbHorGrid.setValue(this.chartSettings.getHorGridLines()); this.cmbVertGrid.setValue(this.chartSettings.getVertGridLines()); + value = (type == Asc.c_oAscChartTypeSettings.barNormal3d || type == Asc.c_oAscChartTypeSettings.barStacked3d || type == Asc.c_oAscChartTypeSettings.barStackedPer3d || + type == Asc.c_oAscChartTypeSettings.hBarNormal3d || type == Asc.c_oAscChartTypeSettings.hBarStacked3d || type == Asc.c_oAscChartTypeSettings.hBarStackedPer3d || + type == Asc.c_oAscChartTypeSettings.barNormal3dPerspective); + this.cmbAxisPos.setDisabled(value); + value = (type == Asc.c_oAscChartTypeSettings.hBarNormal || type == Asc.c_oAscChartTypeSettings.hBarStacked || type == Asc.c_oAscChartTypeSettings.hBarStackedPer || type == Asc.c_oAscChartTypeSettings.hBarNormal3d || type == Asc.c_oAscChartTypeSettings.hBarStacked3d || type == Asc.c_oAscChartTypeSettings.hBarStackedPer3d); this.btnsCategory[2].options.contentTarget = (value) ? 'id-chart-settings-dlg-hor' : 'id-chart-settings-dlg-vert';