mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
WebUI: fix jslint error
jslint warned about parsing string to integer without explicit radix.
This error was introduced in commit 3cac851
.
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
bcfa6b533d
commit
0b8d460191
@ -1080,7 +1080,7 @@ field.validator = IPA.validator = function(spec) {
|
|||||||
return integer_check;
|
return integer_check;
|
||||||
}
|
}
|
||||||
|
|
||||||
var num = parseInt(value);
|
var num = parseInt(value, 10);
|
||||||
|
|
||||||
if (num <= 0) {
|
if (num <= 0) {
|
||||||
return that.false_result(
|
return that.false_result(
|
||||||
|
Loading…
Reference in New Issue
Block a user