diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index b74fd5b0e..8c929dd01 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -2480,8 +2480,8 @@ define([ if (!Common.Locale.getCurrentLanguage()) { Common.UI.warning({ msg: this.errorLang, - callback: function() { - } + buttons: [], + closable: false }); return false; } diff --git a/apps/documenteditor/mobile/app/controller/Main.js b/apps/documenteditor/mobile/app/controller/Main.js index 9f6c281d5..b53ab6578 100644 --- a/apps/documenteditor/mobile/app/controller/Main.js +++ b/apps/documenteditor/mobile/app/controller/Main.js @@ -1499,10 +1499,10 @@ define([ onLanguageLoaded: function() { if (!Common.Locale.getCurrentLanguage()) { - uiApp.alert( - this.errorLang, - this.notcriticalErrorTitle - ); + uiApp.modal({ + title : this.notcriticalErrorTitle, + text : this.errorLang + }); return false; } return true; diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index 764938ed8..419c9a5eb 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -2111,8 +2111,8 @@ define([ if (!Common.Locale.getCurrentLanguage()) { Common.UI.warning({ msg: this.errorLang, - callback: function() { - } + buttons: [], + closable: false }); return false; } diff --git a/apps/presentationeditor/mobile/app/controller/Main.js b/apps/presentationeditor/mobile/app/controller/Main.js index 2c66e159b..012b4ce3d 100644 --- a/apps/presentationeditor/mobile/app/controller/Main.js +++ b/apps/presentationeditor/mobile/app/controller/Main.js @@ -1400,10 +1400,10 @@ define([ onLanguageLoaded: function() { if (!Common.Locale.getCurrentLanguage()) { - uiApp.alert( - this.errorLang, - this.notcriticalErrorTitle - ); + uiApp.modal({ + title : this.notcriticalErrorTitle, + text : this.errorLang + }); return false; } return true; diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 3e34f052c..54d99bab3 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -2456,8 +2456,8 @@ define([ if (!Common.Locale.getCurrentLanguage()) { Common.UI.warning({ msg: this.errorLang, - callback: function() { - } + buttons: [], + closable: false }); return false; } diff --git a/apps/spreadsheeteditor/mobile/app/controller/Main.js b/apps/spreadsheeteditor/mobile/app/controller/Main.js index e73df8db7..71f96d868 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Main.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Main.js @@ -1603,10 +1603,10 @@ define([ onLanguageLoaded: function() { if (!Common.Locale.getCurrentLanguage()) { - uiApp.alert( - this.errorLang, - this.notcriticalErrorTitle - ); + uiApp.modal({ + title : this.notcriticalErrorTitle, + text : this.errorLang + }); return false; } return true;