archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1235830 - /archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js
Date Wed, 25 Jan 2012 17:14:32 GMT
Author: olamy
Date: Wed Jan 25 17:14:32 2012
New Revision: 1235830

URL: http://svn.apache.org/viewvc?rev=1235830&view=rev
Log:
add remote validation call for cron expression

Modified:
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js?rev=1235830&r1=1235829&r2=1235830&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js
Wed Jan 25 17:14:32 2012
@@ -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) {



Mime
View raw message