Refactoring
This commit is contained in:
parent
59bb490069
commit
df1015d826
|
@ -2480,8 +2480,8 @@ define([
|
||||||
if (!Common.Locale.getCurrentLanguage()) {
|
if (!Common.Locale.getCurrentLanguage()) {
|
||||||
Common.UI.warning({
|
Common.UI.warning({
|
||||||
msg: this.errorLang,
|
msg: this.errorLang,
|
||||||
callback: function() {
|
buttons: [],
|
||||||
}
|
closable: false
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1499,10 +1499,10 @@ define([
|
||||||
|
|
||||||
onLanguageLoaded: function() {
|
onLanguageLoaded: function() {
|
||||||
if (!Common.Locale.getCurrentLanguage()) {
|
if (!Common.Locale.getCurrentLanguage()) {
|
||||||
uiApp.alert(
|
uiApp.modal({
|
||||||
this.errorLang,
|
title : this.notcriticalErrorTitle,
|
||||||
this.notcriticalErrorTitle
|
text : this.errorLang
|
||||||
);
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -2111,8 +2111,8 @@ define([
|
||||||
if (!Common.Locale.getCurrentLanguage()) {
|
if (!Common.Locale.getCurrentLanguage()) {
|
||||||
Common.UI.warning({
|
Common.UI.warning({
|
||||||
msg: this.errorLang,
|
msg: this.errorLang,
|
||||||
callback: function() {
|
buttons: [],
|
||||||
}
|
closable: false
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1400,10 +1400,10 @@ define([
|
||||||
|
|
||||||
onLanguageLoaded: function() {
|
onLanguageLoaded: function() {
|
||||||
if (!Common.Locale.getCurrentLanguage()) {
|
if (!Common.Locale.getCurrentLanguage()) {
|
||||||
uiApp.alert(
|
uiApp.modal({
|
||||||
this.errorLang,
|
title : this.notcriticalErrorTitle,
|
||||||
this.notcriticalErrorTitle
|
text : this.errorLang
|
||||||
);
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -2456,8 +2456,8 @@ define([
|
||||||
if (!Common.Locale.getCurrentLanguage()) {
|
if (!Common.Locale.getCurrentLanguage()) {
|
||||||
Common.UI.warning({
|
Common.UI.warning({
|
||||||
msg: this.errorLang,
|
msg: this.errorLang,
|
||||||
callback: function() {
|
buttons: [],
|
||||||
}
|
closable: false
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1603,10 +1603,10 @@ define([
|
||||||
|
|
||||||
onLanguageLoaded: function() {
|
onLanguageLoaded: function() {
|
||||||
if (!Common.Locale.getCurrentLanguage()) {
|
if (!Common.Locale.getCurrentLanguage()) {
|
||||||
uiApp.alert(
|
uiApp.modal({
|
||||||
this.errorLang,
|
title : this.notcriticalErrorTitle,
|
||||||
this.notcriticalErrorTitle
|
text : this.errorLang
|
||||||
);
|
});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue