Merge pull request #467 from ONLYOFFICE/fix/bug-46126

[SSE] Bug 36285, Bug 46126
This commit is contained in:
Julia Radzhabova 2020-08-15 15:02:24 +03:00 committed by GitHub
commit 2a5d8a9c2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1558,7 +1558,7 @@ define([
return false;
}
};
shortcuts['command+shift+=,ctrl+shift+=' + (Common.Utils.isGecko ? ',ctrl+shift+ff=' : '')] = function(e) {
shortcuts['command+shift+=,ctrl+shift+=' + (Common.Utils.isGecko ? ',command+shift+ff=,ctrl+shift+ff=' : '')] = function(e) {
if (me.editMode && !me.toolbar.btnAddCell.isDisabled()) {
var cellinfo = me.api.asc_getCellInfo(),
selectionType = cellinfo.asc_getSelectionType();
@ -1585,7 +1585,7 @@ define([
return false;
};
shortcuts['command+shift+-,ctrl+shift+-' + (Common.Utils.isGecko ? ',ctrl+shift+ff-' : '')] = function(e) {
shortcuts['command+shift+-,ctrl+shift+-' + (Common.Utils.isGecko ? ',command+shift+ff-,ctrl+shift+ff-' : '')] = function(e) {
if (me.editMode && !me.toolbar.btnDeleteCell.isDisabled()) {
var cellinfo = me.api.asc_getCellInfo(),
selectionType = cellinfo.asc_getSelectionType();