mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 07:31:55 +08:00
[SSE mobile] debug for reader mode
This commit is contained in:
@ -170,10 +170,12 @@ define([
|
||||
},
|
||||
|
||||
onInsertFunction: function() {
|
||||
SSE.getController('AddContainer').showModal({
|
||||
panel: 'function',
|
||||
button: '#ce-function'
|
||||
});
|
||||
if (this.mode == 'edit') {
|
||||
SSE.getController('AddContainer').showModal({
|
||||
panel: 'function',
|
||||
button: '#ce-function'
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -161,7 +161,7 @@ define([
|
||||
},
|
||||
|
||||
onApiShowPopMenu: function(posX, posY) {
|
||||
// if ( !this.permitions.isEdit ) return;
|
||||
if ( !_isEdit ) return;
|
||||
|
||||
if ($('.popover.settings, .popup.settings, .picker-modal.settings, .modal-in').length > 0) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user