From 48934472b544ab5af08db746b029bffdcf0c94aa Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 6 May 2020 18:24:20 +0300 Subject: [PATCH] Fix new file templates --- apps/documenteditor/main/app/view/FileMenuPanels.js | 2 +- apps/presentationeditor/main/app/view/FileMenuPanels.js | 2 +- apps/spreadsheeteditor/main/app/view/FileMenuPanels.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/main/app/view/FileMenuPanels.js b/apps/documenteditor/main/app/view/FileMenuPanels.js index 2a897293e..dc049fcd0 100644 --- a/apps/documenteditor/main/app/view/FileMenuPanels.js +++ b/apps/documenteditor/main/app/view/FileMenuPanels.js @@ -665,7 +665,7 @@ define([ 'print(\">\")' + ' } %>', '', - '
<%= Common.Utils.String.htmlEncode(item.name || item.title || "") %>
', + '
<%= Common.Utils.String.htmlEncode(item.title || item.name || "") %>
', '', '<% }) %>', '' diff --git a/apps/presentationeditor/main/app/view/FileMenuPanels.js b/apps/presentationeditor/main/app/view/FileMenuPanels.js index f228680c3..1a9277247 100644 --- a/apps/presentationeditor/main/app/view/FileMenuPanels.js +++ b/apps/presentationeditor/main/app/view/FileMenuPanels.js @@ -574,7 +574,7 @@ define([ 'print(\">\")' + ' } %>', '', - '
<%= Common.Utils.String.htmlEncode(item.name || item.title || "") %>
', + '
<%= Common.Utils.String.htmlEncode(item.title || item.name || "") %>
', '', '<% }) %>', '' diff --git a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js index 74563f6bf..61385ae5d 100644 --- a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js +++ b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js @@ -1388,7 +1388,7 @@ define([ 'print(\">\")' + ' } %>', '', - '
<%= Common.Utils.String.htmlEncode(item.name || item.title || "") %>
', + '
<%= Common.Utils.String.htmlEncode(item.title || item.name || "") %>
', '', '<% }) %>', ''