diff options
author | Olivier Lamy <olamy@apache.org> | 2012-01-25 17:14:32 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-01-25 17:14:32 +0000 |
commit | a7dfbf108d0a8e09792f8767b5b1da7863e30aa2 (patch) | |
tree | 2311391c27995eceaf731d20e9e01a4bcd9fbfc7 /archiva-modules/archiva-web | |
parent | 9bd514d09e45c847c868066a8d2ff7fcdfd750cf (diff) | |
download | archiva-a7dfbf108d0a8e09792f8767b5b1da7863e30aa2.tar.gz archiva-a7dfbf108d0a8e09792f8767b5b1da7863e30aa2.zip |
add remote validation call for cron expression
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235830 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js index 0a4a58f09..ef18d0bf4 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js @@ -249,6 +249,13 @@ $(function() { digits: true, min: 1, max: 100 + }, + cronExpression: { + required: true, + remote: { + url: "restServices/archivaServices/commonServices/validateCronExpression", // ?cronExpression="+$("#managed-repository-edit-form #cronExpression").val(), + type: "get" + } } }, showErrors: function(validator, errorMap, errorList) { |