This commit is contained in:
Yuri Kuznetsov
2022-08-09 16:48:44 +03:00
parent 137b989064
commit 01dffd98f2
9 changed files with 42 additions and 29 deletions
+3 -3
View File
@@ -423,7 +423,7 @@ InstallScript.prototype.checkSett = function(opt) {
var errors = data.errors;
Object.keys(errors).forEach(function (errorName) {
errorData = errors[errorName];
let errorData = errors[errorName];
switch(errorName) {
case 'phpRequires':
@@ -467,7 +467,7 @@ InstallScript.prototype.checkSett = function(opt) {
opt.success(data);
})
.fail(function(){
msg = self.getLang('Ajax failed', 'messages');
let msg = self.getLang('Ajax failed', 'messages');
self.showMsg({msg: msg, error: true});
opt.error();
})
@@ -518,7 +518,7 @@ InstallScript.prototype.validate = function() {
$('[name="thousandSeparator"]').parent().parent().addClass('has-error');
$('[name="decimalMark"]').parent().parent().addClass('has-error');
msg = this.getLang('Thousand Separator and Decimal Mark equal', 'messages');
let msg = this.getLang('Thousand Separator and Decimal Mark equal', 'messages');
this.showMsg({msg: msg, error: true});
valid = false;
}