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 || "") %>
', '', '<% }) %>', ''