mirror of https://github.com/apache/archiva.git
more validation rules for managed repository form
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1232433 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8a4c361fd8
commit
32b26356e9
|
@ -133,10 +133,13 @@ $(function() {
|
|||
$("#main-content #managed-repository-edit-form").validate({
|
||||
rules: {
|
||||
daysOlder : {
|
||||
digits: true
|
||||
digits: true,
|
||||
min: 1
|
||||
},
|
||||
retentionCount : {
|
||||
digits: true
|
||||
digits: true,
|
||||
min: 1,
|
||||
max: 100
|
||||
}
|
||||
},
|
||||
showErrors: function(validator, errorMap, errorList) {
|
||||
|
|
Loading…
Reference in New Issue