[SSE] Fix image crop

This commit is contained in:
Julia Radzhabova 2019-04-09 11:55:07 +03:00
parent 022ea639e0
commit d16f15ac54

View file

@ -453,7 +453,7 @@ define([
if (this.api) {
btn.pressed ? this.api.asc_startEditCrop() : this.api.asc_endEditCrop();
}
this.fireEvent('editcomplete', this);
Common.NotificationCenter.trigger('edit:complete', me);
},
onCropMenu: function(menu, item) {
@ -466,7 +466,7 @@ define([
item.checked ? this.api.asc_startEditCrop() : this.api.asc_endEditCrop();
}
}
this.fireEvent('editcomplete', this);
Common.NotificationCenter.trigger('edit:complete', me);
},
onBtnRotateClick: function(btn) {