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:
Pavel Vomacka authored and Martin Babinsky committed 2017-07-24 14:20:36 +02:00
1 parent bcfa6b533d
commit 0b8d460191
1 file changed
+1 -1
+1 -1
View File
@@ -1080,7 +1080,7 @@ field.validator = IPA.validator = function(spec) {
return integer_check;
}
var num = parseInt(value);
var num = parseInt(value, 10);
if (num <= 0) {
return that.false_result(