Commit 1e2d20ec authored by Julia Radzhabova's avatar Julia Radzhabova

[SSE] Changes for rev. ceb5fb0a: [SSE]...

[SSE] Changes for rev. ceb5fb0a: [SSE] Disabled adding sparklines and changing data/location range.
parent a6013ee5
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment