From 8f74869195c76a5923370b2a66b9d9799195b058 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 1 Sep 2022 19:09:45 +0300 Subject: [PATCH] For Bug 58375 --- apps/documenteditor/main/app/view/FileMenu.js | 1 - apps/presentationeditor/main/app/view/FileMenu.js | 1 - apps/spreadsheeteditor/main/app/view/FileMenu.js | 1 - 3 files changed, 3 deletions(-) diff --git a/apps/documenteditor/main/app/view/FileMenu.js b/apps/documenteditor/main/app/view/FileMenu.js index a448032aa..0b23ce8e1 100644 --- a/apps/documenteditor/main/app/view/FileMenu.js +++ b/apps/documenteditor/main/app/view/FileMenu.js @@ -428,7 +428,6 @@ define([ if ( this.mode.canCreateNew ) { if (this.mode.templates && this.mode.templates.length) { - $('a',this.miNew.$el).text(this.btnCreateNewCaption + '...'); !this.panels['new'] && (this.panels['new'] = ((new DE.Views.FileMenuPanels.CreateNew({menu: this, docs: this.mode.templates, blank: this.mode.canRequestCreateNew || !!this.mode.createUrl})).render())); } } diff --git a/apps/presentationeditor/main/app/view/FileMenu.js b/apps/presentationeditor/main/app/view/FileMenu.js index 65bb5a394..867189ab9 100644 --- a/apps/presentationeditor/main/app/view/FileMenu.js +++ b/apps/presentationeditor/main/app/view/FileMenu.js @@ -429,7 +429,6 @@ define([ if ( this.mode.canCreateNew ) { if (this.mode.templates && this.mode.templates.length) { - $('a',this.miNew.$el).text(this.btnCreateNewCaption + '...'); !this.panels['new'] && (this.panels['new'] = (new PE.Views.FileMenuPanels.CreateNew({menu: this, docs: this.mode.templates, blank: this.mode.canRequestCreateNew || !!this.mode.createUrl})).render()); } } diff --git a/apps/spreadsheeteditor/main/app/view/FileMenu.js b/apps/spreadsheeteditor/main/app/view/FileMenu.js index 9d29b673e..0f682e816 100644 --- a/apps/spreadsheeteditor/main/app/view/FileMenu.js +++ b/apps/spreadsheeteditor/main/app/view/FileMenu.js @@ -413,7 +413,6 @@ define([ if ( this.mode.canCreateNew ) { if (this.mode.templates && this.mode.templates.length) { - $('a',this.miNew.$el).text(this.btnCreateNewCaption + '...'); !this.panels['new'] && (this.panels['new'] = (new SSE.Views.FileMenuPanels.CreateNew({menu: this, docs: this.mode.templates, blank: this.mode.canRequestCreateNew || !!this.mode.createUrl})).render()); } }