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:
Olivier Lamy 2012-01-17 14:59:28 +00:00
parent 8a4c361fd8
commit 32b26356e9
1 changed files with 5 additions and 2 deletions

View File

@ -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) {