[SSE] Fix Bug 35507
This commit is contained in:
parent
69715fc18f
commit
f68a6ee68b
|
@ -989,7 +989,7 @@ define([
|
||||||
seltype = info.asc_getFlags().asc_getSelectionType(),
|
seltype = info.asc_getFlags().asc_getSelectionType(),
|
||||||
isSpark = (group == 'menu-chart-group-sparkcolumn' || group == 'menu-chart-group-sparkline' || group == 'menu-chart-group-sparkwin');
|
isSpark = (group == 'menu-chart-group-sparkcolumn' || group == 'menu-chart-group-sparkline' || group == 'menu-chart-group-sparkwin');
|
||||||
|
|
||||||
if (seltype!=Asc.c_oAscSelectionType.RangeImage && me.api) {
|
if (me.api) {
|
||||||
var win, props;
|
var win, props;
|
||||||
if (isSpark && (seltype==Asc.c_oAscSelectionType.RangeCells || seltype==Asc.c_oAscSelectionType.RangeCol ||
|
if (isSpark && (seltype==Asc.c_oAscSelectionType.RangeCells || seltype==Asc.c_oAscSelectionType.RangeCol ||
|
||||||
seltype==Asc.c_oAscSelectionType.RangeRow || seltype==Asc.c_oAscSelectionType.RangeMax)) {
|
seltype==Asc.c_oAscSelectionType.RangeRow || seltype==Asc.c_oAscSelectionType.RangeMax)) {
|
||||||
|
|
|
@ -644,7 +644,7 @@ define([
|
||||||
cls : 'btn-toolbar x-huge icon-top',
|
cls : 'btn-toolbar x-huge icon-top',
|
||||||
iconCls : 'btn-insertimage',
|
iconCls : 'btn-insertimage',
|
||||||
caption : me.capInsertImage,
|
caption : me.capInsertImage,
|
||||||
lock : [_set.editCell, _set.selChartText, _set.selImage, _set.lostConnect, _set.coAuth],
|
lock : [_set.editCell, _set.lostConnect, _set.coAuth],
|
||||||
menu : new Common.UI.Menu({
|
menu : new Common.UI.Menu({
|
||||||
items: [
|
items: [
|
||||||
{ caption: me.mniImageFromFile, value: 'file' },
|
{ caption: me.mniImageFromFile, value: 'file' },
|
||||||
|
@ -666,7 +666,7 @@ define([
|
||||||
id : 'tlbtn-insertchart',
|
id : 'tlbtn-insertchart',
|
||||||
cls : 'btn-toolbar x-huge icon-top',
|
cls : 'btn-toolbar x-huge icon-top',
|
||||||
iconCls : 'btn-insertchart',
|
iconCls : 'btn-insertchart',
|
||||||
lock : [_set.editCell, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.lostConnect, _set.coAuth, _set.coAuthText],
|
lock : [_set.editCell, _set.lostConnect, _set.coAuth, _set.coAuthText],
|
||||||
caption : me.capInsertChart,
|
caption : me.capInsertChart,
|
||||||
menu : true
|
menu : true
|
||||||
});
|
});
|
||||||
|
@ -677,7 +677,7 @@ define([
|
||||||
iconCls : 'btn-insertshape',
|
iconCls : 'btn-insertshape',
|
||||||
enableToggle: true,
|
enableToggle: true,
|
||||||
caption : me.capInsertShape,
|
caption : me.capInsertShape,
|
||||||
lock : [_set.editCell, _set.selChartText, _set.selImage, _set.lostConnect, _set.coAuth],
|
lock : [_set.editCell, _set.lostConnect, _set.coAuth],
|
||||||
menu : new Common.UI.Menu({cls: 'menu-shapes'})
|
menu : new Common.UI.Menu({cls: 'menu-shapes'})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -686,7 +686,7 @@ define([
|
||||||
cls : 'btn-toolbar x-huge icon-top',
|
cls : 'btn-toolbar x-huge icon-top',
|
||||||
iconCls : 'btn-text',
|
iconCls : 'btn-text',
|
||||||
caption : me.capInsertText,
|
caption : me.capInsertText,
|
||||||
lock : [_set.editCell, _set.selChartText, _set.selImage, _set.lostConnect, _set.coAuth],
|
lock : [_set.editCell, _set.lostConnect, _set.coAuth],
|
||||||
enableToggle: true
|
enableToggle: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -695,7 +695,7 @@ define([
|
||||||
cls : 'btn-toolbar x-huge icon-top',
|
cls : 'btn-toolbar x-huge icon-top',
|
||||||
iconCls : 'btn-textart',
|
iconCls : 'btn-textart',
|
||||||
caption : me.capInsertTextart,
|
caption : me.capInsertTextart,
|
||||||
lock : [_set.editCell, _set.selChartText, _set.selImage, _set.lostConnect, _set.coAuth],
|
lock : [_set.editCell, _set.lostConnect, _set.coAuth],
|
||||||
menu : new Common.UI.Menu({
|
menu : new Common.UI.Menu({
|
||||||
cls: 'menu-shapes',
|
cls: 'menu-shapes',
|
||||||
items: [
|
items: [
|
||||||
|
@ -710,7 +710,7 @@ define([
|
||||||
iconCls : 'btn-insertequation',
|
iconCls : 'btn-insertequation',
|
||||||
caption : me.capInsertEquation,
|
caption : me.capInsertEquation,
|
||||||
split : true,
|
split : true,
|
||||||
lock : [_set.editCell, _set.selChartText, _set.selImage, _set.lostConnect, _set.coAuth],
|
lock : [_set.editCell, _set.lostConnect, _set.coAuth],
|
||||||
menu : new Common.UI.Menu({cls: 'menu-shapes'})
|
menu : new Common.UI.Menu({cls: 'menu-shapes'})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue