From bf649e7a7919098ed7aab2dc0e408d9d6a6de4e9 Mon Sep 17 00:00:00 2001 From: "Julia.Radzhabova" Date: Wed, 22 Oct 2025 19:26:44 +0300 Subject: [PATCH] Fix bug 77801 --- .../forms/app/controller/ApplicationController.js | 2 ++ apps/documenteditor/main/app/controller/Main.js | 2 ++ apps/pdfeditor/main/app/controller/Main.js | 2 ++ apps/presentationeditor/main/app/controller/Main.js | 2 ++ apps/spreadsheeteditor/main/app/controller/Main.js | 2 ++ apps/visioeditor/main/app/controller/Main.js | 2 ++ 6 files changed, 12 insertions(+) diff --git a/apps/documenteditor/forms/app/controller/ApplicationController.js b/apps/documenteditor/forms/app/controller/ApplicationController.js index a4a2f9591e..00b01f393b 100644 --- a/apps/documenteditor/forms/app/controller/ApplicationController.js +++ b/apps/documenteditor/forms/app/controller/ApplicationController.js @@ -355,6 +355,8 @@ define([ default: config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id); + if (typeof id == 'string') + config.maxwidth = 600; break; } diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 81fc9b1a7e..ef4eec633d 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -2362,6 +2362,8 @@ define([ default: config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id); + if (typeof id == 'string') + config.maxwidth = 600; break; } diff --git a/apps/pdfeditor/main/app/controller/Main.js b/apps/pdfeditor/main/app/controller/Main.js index bd3e2768f0..bbe35ca8e6 100644 --- a/apps/pdfeditor/main/app/controller/Main.js +++ b/apps/pdfeditor/main/app/controller/Main.js @@ -1877,6 +1877,8 @@ define([ default: config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id); + if (typeof id == 'string') + config.maxwidth = 600; break; } diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index 45f6dcee2c..83ea23fa36 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -1840,6 +1840,8 @@ define([ default: config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id); + if (typeof id == 'string') + config.maxwidth = 600; break; } diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 6c76fd0d13..726b4178d6 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -2275,6 +2275,8 @@ define([ default: config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id); + if (typeof id == 'string') + config.maxwidth = 600; break; } diff --git a/apps/visioeditor/main/app/controller/Main.js b/apps/visioeditor/main/app/controller/Main.js index fe27de43ea..8bec5c7029 100644 --- a/apps/visioeditor/main/app/controller/Main.js +++ b/apps/visioeditor/main/app/controller/Main.js @@ -1513,6 +1513,8 @@ define([ default: config.msg = (typeof id == 'string') ? id : this.errorDefaultMessage.replace('%1', id); + if (typeof id == 'string') + config.maxwidth = 600; break; }