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 2017-07-21 18:49:01 +02:00 committed by Martin Babinsky
parent bcfa6b533d
commit 0b8d460191

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(