commit
e4274d24ab
|
@ -9,7 +9,7 @@ class WrapDevice {
|
||||||
isMobile = /Mobile(\/|\s|;)/.test(ua);
|
isMobile = /Mobile(\/|\s|;)/.test(ua);
|
||||||
|
|
||||||
this.isPhone = /(iPhone|iPod)/.test(ua) ||
|
this.isPhone = /(iPhone|iPod)/.test(ua) ||
|
||||||
(!/(Silk)/.test(ua) && (/(Android)/.test(ua) && (/(Android 2)/.test(ua) || isMobile))) ||
|
(!/(Silk)/.test(ua) && (/(Android)/.test(ua) && !/Galaxy Tab S6|SCH-I800|Lenovo YT-X705X/.test(ua) && (/(Android 2)/.test(ua) || isMobile))) ||
|
||||||
(/(BlackBerry|BB)/.test(ua) && isMobile) ||
|
(/(BlackBerry|BB)/.test(ua) && isMobile) ||
|
||||||
/(Windows Phone)/.test(ua);
|
/(Windows Phone)/.test(ua);
|
||||||
|
|
||||||
|
|
|
@ -180,7 +180,7 @@ const Statusbar = inject('sheets', 'storeAppOptions', 'users')(observer(props =>
|
||||||
|
|
||||||
if (index == api.asc_getActiveWorksheetIndex()) {
|
if (index == api.asc_getActiveWorksheetIndex()) {
|
||||||
if (!opened) {
|
if (!opened) {
|
||||||
if (isEdit && !isDisconnected) {
|
if (isEdit && !isDisconnected && !model.locked) {
|
||||||
api.asc_closeCellEditor();
|
api.asc_closeCellEditor();
|
||||||
f7.popover.open('#idx-tab-context-menu-popover', target);
|
f7.popover.open('#idx-tab-context-menu-popover', target);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue