[all] fix bug 59929
This commit is contained in:
parent
5b587c1c13
commit
ca5738bd99
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue