[SSE mobile] fix code structure
This commit is contained in:
parent
e10bd011a5
commit
d8a722c1c4
|
@ -323,17 +323,12 @@ define([
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!this.api.asc_getSheetViewSettings().asc_getIsFreezePane()) {
|
|
||||||
menuItems.push({
|
menuItems.push({
|
||||||
caption: me.menuFreezePanes,
|
caption: this.api.asc_getSheetViewSettings().asc_getIsFreezePane() ? me.menuUnfreezePanes : me.menuFreezePanes,
|
||||||
event: 'freezePanes'
|
event: 'freezePanes'
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
menuItems.push({
|
|
||||||
caption: me.menuUnfreezePanes,
|
|
||||||
event: 'freezePanes'
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue