From 1e2d20ec71c6e179deb78e70a233fa1ce38e58af Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 18 Apr 2017 15:10:24 +0300 Subject: [PATCH] [SSE] Changes for rev. ceb5fb0a7072263a599d93ed6826346796f38fbc: [SSE] Disabled adding sparklines and changing data/location range. --- apps/spreadsheeteditor/main/app/controller/Toolbar.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index c04c20e1c..ba215c995 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -1741,6 +1741,7 @@ define([ toolbar.lockToolbar(SSE.enumLock.cantHyperlink, (selectionType == Asc.c_oAscSelectionType.RangeShapeText) && (this.api.asc_canAddShapeHyperlink()===false), { array: [toolbar.btnInsertHyperlink]}); + /* need_disable = selectionType != Asc.c_oAscSelectionType.RangeCells && selectionType != Asc.c_oAscSelectionType.RangeCol && selectionType != Asc.c_oAscSelectionType.RangeRow && selectionType != Asc.c_oAscSelectionType.RangeMax; if (this._state.sparklines_disabled !== need_disable) { @@ -1750,6 +1751,7 @@ define([ this._state.sparklines_disabled = need_disable; } } + */ if (editOptionsDisabled) return;