[SSE] Refactoring
This commit is contained in:
parent
9d18c8ce13
commit
6ff6f314ef
|
@ -279,7 +279,7 @@ define([
|
||||||
} else {
|
} else {
|
||||||
this.rangePr.asc_setStartNum(parseFloat(this.inputStart.getValue().toString().replace(',','.')));
|
this.rangePr.asc_setStartNum(parseFloat(this.inputStart.getValue().toString().replace(',','.')));
|
||||||
this.rangePr.asc_setEndNum(parseFloat(this.inputEnd.getValue().toString().replace(',','.')));
|
this.rangePr.asc_setEndNum(parseFloat(this.inputEnd.getValue().toString().replace(',','.')));
|
||||||
this.rangePr.asc_setGroupInterval(parseFloat(this.inputBy.getValue()));
|
this.rangePr.asc_setGroupInterval(parseFloat(this.inputBy.getValue().toString().replace(',','.')));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -324,7 +324,7 @@ define([
|
||||||
this.inputEnd.focus();
|
this.inputEnd.focus();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!regstr.test(this.inputBy.getValue())) {
|
if (!regstr.test(this.inputBy.getValue().toString())) {
|
||||||
this.inputBy.showError([this.textError]);
|
this.inputBy.showError([this.textError]);
|
||||||
this.inputBy.focus();
|
this.inputBy.focus();
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue