Fix Bug 50298
This commit is contained in:
parent
35e132ce68
commit
be4a444adb
|
@ -1537,7 +1537,7 @@ define([
|
|||
this.toolbar.fireEvent('insertimage', this.toolbar);
|
||||
|
||||
if (this.api)
|
||||
this.api.asc_addImage();
|
||||
setTimeout(function() {me.api.asc_addImage();}, 1);
|
||||
|
||||
Common.NotificationCenter.trigger('edit:complete', me.toolbar);
|
||||
Common.component.Analytics.trackEvent('ToolBar', 'Image');
|
||||
|
|
|
@ -1556,7 +1556,7 @@ define([
|
|||
if (opts === 'file') {
|
||||
me.toolbar.fireEvent('insertimage', this.toolbar);
|
||||
|
||||
me.api.asc_addImage();
|
||||
setTimeout(function() {me.api.asc_addImage();}, 1);
|
||||
|
||||
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
|
||||
Common.component.Analytics.trackEvent('ToolBar', 'Image');
|
||||
|
|
|
@ -858,7 +858,7 @@ define([
|
|||
this.toolbar.fireEvent('insertimage', this.toolbar);
|
||||
|
||||
if (this.api)
|
||||
this.api.asc_addImage();
|
||||
setTimeout(function() {me.api.asc_addImage();}, 1);
|
||||
|
||||
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
|
||||
Common.component.Analytics.trackEvent('ToolBar', 'Image');
|
||||
|
|
Loading…
Reference in a new issue