[SSE mobile] Fix Bug 60422
This commit is contained in:
parent
1b6480f7fe
commit
0f15e982b1
|
@ -260,7 +260,7 @@ class ContextMenu extends ContextMenuController {
|
||||||
let iscellmenu, isrowmenu, iscolmenu, isallmenu, ischartmenu, isimagemenu, istextshapemenu, isshapemenu, istextchartmenu;
|
let iscellmenu, isrowmenu, iscolmenu, isallmenu, ischartmenu, isimagemenu, istextshapemenu, isshapemenu, istextchartmenu;
|
||||||
const seltype = cellinfo.asc_getSelectionType();
|
const seltype = cellinfo.asc_getSelectionType();
|
||||||
const comments = cellinfo.asc_getComments(); //prohibit adding multiple comments in one cell;
|
const comments = cellinfo.asc_getComments(); //prohibit adding multiple comments in one cell;
|
||||||
const isSolvedComment = comments[0].asc_getSolved();
|
const isSolvedComment = comments?.length && comments[0].asc_getSolved();
|
||||||
|
|
||||||
switch (seltype) {
|
switch (seltype) {
|
||||||
case Asc.c_oAscSelectionType.RangeCells: iscellmenu = true; break;
|
case Asc.c_oAscSelectionType.RangeCells: iscellmenu = true; break;
|
||||||
|
|
Loading…
Reference in a new issue