diff --git a/apps/documenteditor/main/app/controller/Toolbar.js b/apps/documenteditor/main/app/controller/Toolbar.js index c127036ce..f88f81b6d 100644 --- a/apps/documenteditor/main/app/controller/Toolbar.js +++ b/apps/documenteditor/main/app/controller/Toolbar.js @@ -2422,11 +2422,6 @@ define([ me.toolbar.btnInsertText.menu.hide(); Common.NotificationCenter.trigger('edit:complete', me.toolbar, me.toolbar.btnInsertText); Common.component.Analytics.trackEvent('ToolBar', 'Add Text Art'); - - if (e.type !== 'click') - me.toolbar.btnInsertText.menu.hide(); - Common.NotificationCenter.trigger('edit:complete', me.toolbar, me.toolbar.btnInsertText); - Common.component.Analytics.trackEvent('ToolBar', 'Add Text Art'); } }); } diff --git a/apps/presentationeditor/main/app/controller/Toolbar.js b/apps/presentationeditor/main/app/controller/Toolbar.js index 7cb37f83f..0b2bf0b24 100644 --- a/apps/presentationeditor/main/app/controller/Toolbar.js +++ b/apps/presentationeditor/main/app/controller/Toolbar.js @@ -1644,11 +1644,6 @@ define([ me.toolbar.btnInsertText.menu.hide(); Common.NotificationCenter.trigger('edit:complete', me.toolbar, me.toolbar.btnInsertText); Common.component.Analytics.trackEvent('ToolBar', 'Add Text Art'); - - if (e.type !== 'click') - me.toolbar.btnInsertText.menu.hide(); - Common.NotificationCenter.trigger('edit:complete', me.toolbar, me.toolbar.btnInsertText); - Common.component.Analytics.trackEvent('ToolBar', 'Add Text Art'); } }); } diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index 27858127b..178f06023 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -2046,11 +2046,6 @@ define([ me.toolbar.btnInsertText.menu.hide(); Common.NotificationCenter.trigger('edit:complete', me.toolbar, me.toolbar.btnInsertText); Common.component.Analytics.trackEvent('ToolBar', 'Add Text Art'); - - if (e.type !== 'click') - me.toolbar.btnInsertText.menu.hide(); - Common.NotificationCenter.trigger('edit:complete', me.toolbar, me.toolbar.btnInsertText); - Common.component.Analytics.trackEvent('ToolBar', 'Add Text Art'); } }); }