[all] fix bug 59929
This commit is contained in:
parent
f1adaca4b7
commit
dc91792801
|
@ -2285,7 +2285,8 @@ define([
|
||||||
if (this.changeServerVersion) return true;
|
if (this.changeServerVersion) return true;
|
||||||
|
|
||||||
const cur_version = this.getApplication().getController('LeftMenu').leftMenu.getMenu('about').txtVersionNum;
|
const cur_version = this.getApplication().getController('LeftMenu').leftMenu.getMenu('about').txtVersionNum;
|
||||||
if (!window.compareVersions && cur_version !== buildVersion) {
|
const cropped_version = cur_version.match(/^(\d+.\d+.\d+)/);
|
||||||
|
if (!window.compareVersions && cropped_version !== buildVersion) {
|
||||||
this.changeServerVersion = true;
|
this.changeServerVersion = true;
|
||||||
Common.UI.warning({
|
Common.UI.warning({
|
||||||
title: this.titleServerVersion,
|
title: this.titleServerVersion,
|
||||||
|
|
|
@ -1870,7 +1870,8 @@ define([
|
||||||
if (this.changeServerVersion) return true;
|
if (this.changeServerVersion) return true;
|
||||||
|
|
||||||
const cur_version = this.getApplication().getController('LeftMenu').leftMenu.getMenu('about').txtVersionNum;
|
const cur_version = this.getApplication().getController('LeftMenu').leftMenu.getMenu('about').txtVersionNum;
|
||||||
if ( !window.compareVersions && cur_version !== buildVersion ) {
|
const cropped_version = cur_version.match(/^(\d+.\d+.\d+)/);
|
||||||
|
if (!window.compareVersions && cropped_version !== buildVersion) {
|
||||||
this.changeServerVersion = true;
|
this.changeServerVersion = true;
|
||||||
Common.UI.warning({
|
Common.UI.warning({
|
||||||
title: this.titleServerVersion,
|
title: this.titleServerVersion,
|
||||||
|
|
|
@ -2264,7 +2264,8 @@ define([
|
||||||
if (this.changeServerVersion) return true;
|
if (this.changeServerVersion) return true;
|
||||||
|
|
||||||
const cur_version = this.getApplication().getController('LeftMenu').leftMenu.getMenu('about').txtVersionNum;
|
const cur_version = this.getApplication().getController('LeftMenu').leftMenu.getMenu('about').txtVersionNum;
|
||||||
if (!window.compareVersions && cur_version !== buildVersion) {
|
const cropped_version = cur_version.match(/^(\d+.\d+.\d+)/);
|
||||||
|
if (!window.compareVersions && cropped_version !== buildVersion) {
|
||||||
this.changeServerVersion = true;
|
this.changeServerVersion = true;
|
||||||
Common.UI.warning({
|
Common.UI.warning({
|
||||||
title: this.titleServerVersion,
|
title: this.titleServerVersion,
|
||||||
|
|
Loading…
Reference in a new issue