From cfa157c1e554e0cd113a6fb9fd3af9fbad4529ef Mon Sep 17 00:00:00 2001 From: Pavel Vomacka Date: Tue, 11 Jul 2017 10:49:46 +0200 Subject: [PATCH] WebUI: change validator of page size settings Previously, this configuration field was validated by integer_validator which only checks that the input is number. Now new positive_integer_validator can also check that the inputed number positive. https://pagure.io/freeipa/issue/6980 Reviewed-By: Felipe Volpone --- install/ui/src/freeipa/Application_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/ui/src/freeipa/Application_controller.js b/install/ui/src/freeipa/Application_controller.js index 5eb4e7a51..51f579e3c 100644 --- a/install/ui/src/freeipa/Application_controller.js +++ b/install/ui/src/freeipa/Application_controller.js @@ -312,7 +312,7 @@ define([ $type: 'text', name: 'pagination_size', label: '@i18n:customization.table_pagination', - validators: ['integer'] + validators: ['positive_integer'] } ] });