[SSE] Changes for rev. ceb5fb0a70
: [SSE] Disabled adding sparklines and changing data/location range.
This commit is contained in:
parent
a6013ee542
commit
1e2d20ec71
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue