[SSE] Fix Bug 35722.

This commit is contained in:
Julia Radzhabova 2017-08-29 15:43:16 +03:00
parent d72edde725
commit 3dee547c98
3 changed files with 9 additions and 3 deletions

View file

@ -1888,8 +1888,12 @@ define([
this._state.clrshd_asccolor = color;
}
if (selectionType == Asc.c_oAscSelectionType.RangeChart || selectionType == Asc.c_oAscSelectionType.RangeChartText)
return;
var in_chart = (selectionType == Asc.c_oAscSelectionType.RangeChart || selectionType == Asc.c_oAscSelectionType.RangeChartText);
if (in_chart !== this._state.in_chart) {
toolbar.btnInsertChart.updateHint(in_chart ? toolbar.tipChangeChart : toolbar.tipInsertChart);
this._state.in_chart = in_chart;
}
if (in_chart) return;
if (!toolbar.mode.isEditDiagram)
{

View file

@ -2059,6 +2059,7 @@ define([
textTabFile: 'File',
textTabHome: 'Home',
textTabInsert: 'Insert',
textSurface: 'Surface'
textSurface: 'Surface',
tipChangeChart: 'Change Chart Type'
}, SSE.Views.Toolbar || {}));
});

View file

@ -1664,6 +1664,7 @@
"SSE.Views.Toolbar.tipBack": "Back",
"SSE.Views.Toolbar.tipBorders": "Borders",
"SSE.Views.Toolbar.tipCellStyle": "Cell Style",
"SSE.Views.Toolbar.tipChangeChart": "Change Chart Type",
"SSE.Views.Toolbar.tipClearStyle": "Clear",
"SSE.Views.Toolbar.tipColorSchemas": "Change Color Scheme",
"SSE.Views.Toolbar.tipCopy": "Copy",