[SSE] Fix Bug 42789

This commit is contained in:
Julia Radzhabova 2019-09-11 16:21:12 +03:00
parent cd2eabe427
commit 0f6a2c99e3

View file

@ -831,6 +831,7 @@ define([
},
onInsertImageMenu: function(menu, item, e) {
var me = this;
if (item.value === 'file') {
this.toolbar.fireEvent('insertimage', this.toolbar);
@ -840,8 +841,6 @@ define([
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
Common.component.Analytics.trackEvent('ToolBar', 'Image');
} else if (item.value === 'url') {
var me = this;
(new Common.Views.ImageFromUrlDialog({
handler: function(result, value) {
if (result == 'ok') {