Fix bug from server log

This commit is contained in:
Julia Radzhabova 2022-10-28 13:50:58 +03:00
parent b111281778
commit 02d4918eaf
3 changed files with 3 additions and 3 deletions

View file

@ -1238,7 +1238,7 @@ define([
}, },
onChangeCropState: function(state) { onChangeCropState: function(state) {
this.documentHolder.menuImgCrop.menu.items[0].setChecked(state, true); this.documentHolder.menuImgCrop && this.documentHolder.menuImgCrop.menu.items[0].setChecked(state, true);
}, },
onRulerDblClick: function(type) { onRulerDblClick: function(type) {

View file

@ -1273,7 +1273,7 @@ define([
}, },
onChangeCropState: function(state) { onChangeCropState: function(state) {
this.documentHolder.menuImgCrop.menu.items[0].setChecked(state, true); this.documentHolder.menuImgCrop && this.documentHolder.menuImgCrop.menu.items[0].setChecked(state, true);
}, },
onDoubleClickOnTableOleObject: function(chart) { onDoubleClickOnTableOleObject: function(chart) {

View file

@ -3335,7 +3335,7 @@ define([
}, },
onChangeCropState: function(state) { onChangeCropState: function(state) {
this.documentHolder.menuImgCrop.menu.items[0].setChecked(state, true); this.documentHolder.menuImgCrop && this.documentHolder.menuImgCrop.menu.items[0].setChecked(state, true);
}, },
initEquationMenu: function() { initEquationMenu: function() {