Refactoring

This commit is contained in:
Julia Radzhabova 2021-05-12 14:36:24 +03:00
parent 59bb490069
commit df1015d826
6 changed files with 18 additions and 18 deletions

View file

@ -2480,8 +2480,8 @@ define([
if (!Common.Locale.getCurrentLanguage()) {
Common.UI.warning({
msg: this.errorLang,
callback: function() {
}
buttons: [],
closable: false
});
return false;
}

View file

@ -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;

View file

@ -2111,8 +2111,8 @@ define([
if (!Common.Locale.getCurrentLanguage()) {
Common.UI.warning({
msg: this.errorLang,
callback: function() {
}
buttons: [],
closable: false
});
return false;
}

View file

@ -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;

View file

@ -2456,8 +2456,8 @@ define([
if (!Common.Locale.getCurrentLanguage()) {
Common.UI.warning({
msg: this.errorLang,
callback: function() {
}
buttons: [],
closable: false
});
return false;
}

View file

@ -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;