diff options
author | Martin Stockhammer <martin_s@apache.org> | 2017-11-24 20:29:17 +0100 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2017-11-24 20:29:17 +0100 |
commit | ae36964e7d354a0175352af1fb7ee70f1e4b5713 (patch) | |
tree | 3728484d1e029882696bcb6af4f339892701905a /archiva-modules/archiva-web | |
parent | 7543d8149c50c00f7a5f8c849dbe23d40435905e (diff) | |
download | archiva-ae36964e7d354a0175352af1fb7ee70f1e4b5713.tar.gz archiva-ae36964e7d354a0175352af1fb7ee70f1e4b5713.zip |
[MRM-1966] Fixing error for 0 value of daysOlder entry
UI did not allow to enter value 0 for the daysOlder value.
Diffstat (limited to 'archiva-modules/archiva-web')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/repositories.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/repositories.js b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/repositories.js index b169712cf..37b41d84d 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/repositories.js +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/archiva/admin/repository/maven2/repositories.js @@ -300,7 +300,7 @@ function(jquery,i18n,jqueryTmpl,bootstrap,jqueryValidate,ko) { rules: { retentionTime : { digits: true, - min: 1 + min: 0 }, retentionCount : { digits: true, @@ -1327,4 +1327,4 @@ function(jquery,i18n,jqueryTmpl,bootstrap,jqueryValidate,ko) { return ($.isArray(managedRepository) && managedRepository.length>0) ? managedRepository[0]:new ManagedRepository(); } -});
\ No newline at end of file +}); |