[SSE] Fix Bug 42789
This commit is contained in:
parent
cd2eabe427
commit
0f6a2c99e3
|
@ -831,6 +831,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
onInsertImageMenu: function(menu, item, e) {
|
onInsertImageMenu: function(menu, item, e) {
|
||||||
|
var me = this;
|
||||||
if (item.value === 'file') {
|
if (item.value === 'file') {
|
||||||
this.toolbar.fireEvent('insertimage', this.toolbar);
|
this.toolbar.fireEvent('insertimage', this.toolbar);
|
||||||
|
|
||||||
|
@ -840,8 +841,6 @@ define([
|
||||||
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
|
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
|
||||||
Common.component.Analytics.trackEvent('ToolBar', 'Image');
|
Common.component.Analytics.trackEvent('ToolBar', 'Image');
|
||||||
} else if (item.value === 'url') {
|
} else if (item.value === 'url') {
|
||||||
var me = this;
|
|
||||||
|
|
||||||
(new Common.Views.ImageFromUrlDialog({
|
(new Common.Views.ImageFromUrlDialog({
|
||||||
handler: function(result, value) {
|
handler: function(result, value) {
|
||||||
if (result == 'ok') {
|
if (result == 'ok') {
|
||||||
|
|
Loading…
Reference in a new issue