diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index a4cc1af8e..163d718c0 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -2289,7 +2289,7 @@ define([ const cur_version = this.getApplication().getController('LeftMenu').leftMenu.getMenu('about').txtVersionNum; const cropped_version = cur_version.match(/^(\d+.\d+.\d+)/); - if (!window.compareVersions && cropped_version !== buildVersion) { + if (!window.compareVersions && (!cropped_version || cropped_version[1] !== buildVersion)) { this.changeServerVersion = true; Common.UI.warning({ title: this.titleServerVersion, diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index e0160cb03..4f0127070 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -1874,7 +1874,7 @@ define([ const cur_version = this.getApplication().getController('LeftMenu').leftMenu.getMenu('about').txtVersionNum; const cropped_version = cur_version.match(/^(\d+.\d+.\d+)/); - if (!window.compareVersions && cropped_version !== buildVersion) { + if (!window.compareVersions && (!cropped_version || cropped_version[1] !== buildVersion)) { this.changeServerVersion = true; Common.UI.warning({ title: this.titleServerVersion, diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index 42eb0500e..3c25623b5 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -2268,7 +2268,7 @@ define([ const cur_version = this.getApplication().getController('LeftMenu').leftMenu.getMenu('about').txtVersionNum; const cropped_version = cur_version.match(/^(\d+.\d+.\d+)/); - if (!window.compareVersions && cropped_version !== buildVersion) { + if (!window.compareVersions && (!cropped_version || cropped_version[1] !== buildVersion)) { this.changeServerVersion = true; Common.UI.warning({ title: this.titleServerVersion,