diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index ef42654e7..a4a00d088 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -313,6 +313,7 @@ define([ if (!old_rights) Common.UI.warning({ title: this.notcriticalErrorTitle, + width: _.isEmpty(data.message) ? 'auto' : 350, msg : _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message, callback: function(){ me._state.lostEditingRights = false; diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index 521d001ec..1b7dd409e 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -294,6 +294,7 @@ define([ if (!old_rights) Common.UI.warning({ title: this.notcriticalErrorTitle, + width: _.isEmpty(data.message) ? 'auto' : 350, msg : _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message, callback: function(){ me._state.lostEditingRights = false; diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index a8105de0b..a328e09c2 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -325,6 +325,7 @@ define([ if (!old_rights) Common.UI.warning({ title: this.notcriticalErrorTitle, + width: _.isEmpty(data.message) ? 'auto' : 350, msg : _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message, callback: function(){ me._state.lostEditingRights = false;