mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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 <felipevolpone@gmail.com>
This commit is contained in:
committed by
Martin Babinsky
parent
3cac851498
commit
cfa157c1e5
@@ -312,7 +312,7 @@ define([
|
|||||||
$type: 'text',
|
$type: 'text',
|
||||||
name: 'pagination_size',
|
name: 'pagination_size',
|
||||||
label: '@i18n:customization.table_pagination',
|
label: '@i18n:customization.table_pagination',
|
||||||
validators: ['integer']
|
validators: ['positive_integer']
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user