dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #11640
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3373: Removed comments and some extra commas from validationRule.js so that it validates as json
------------------------------------------------------------
revno: 3373
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-04-12 20:13:47 +0200
message:
Removed comments and some extra commas from validationRule.js so that it validates as json
modified:
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js 2011-04-11 14:03:01 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js 2011-04-12 18:13:47 +0000
@@ -1,5 +1,4 @@
var validationRules = {
- /* dhis-web-maintenance-user */
"user" : {
"username" : {
"required" : true,
@@ -62,8 +61,6 @@
"required" : true
}
},
-
- /* dhis-web-maintenance-organisationunit */
"organisationUnit" : {
"name" : {
"required" : true,
@@ -114,8 +111,6 @@
"rangelength" : [ 2, 255 ]
}
},
-
- /* dhis-web-maintenance-dataset */
"dataEntry" : {
"name" : {
"required" : true,
@@ -153,8 +148,6 @@
"required" : true
}
},
-
- /* dhis-web-maintenance-dataadmin */
"sqlView" : {
"name" : {
"required" : true,
@@ -190,8 +183,6 @@
"required" : true
}
},
-
- /* dhis-web-maintenance-datadictionary */
"concept" : {
"name" : {
"required" : true,
@@ -328,7 +319,7 @@
"name" : {
"required" : true,
"rangelength" : [ 3, 150 ],
- "alphanumericwithbasicpuncspaces" : true,
+ "alphanumericwithbasicpuncspaces" : true
}
},
"indicatorGroupSet" : {
@@ -341,7 +332,7 @@
"name" : {
"required" : true,
"rangelength" : [ 3, 150 ],
- "alphanumericwithbasicpuncspaces" : true,
+ "alphanumericwithbasicpuncspaces" : true
},
"factor" : {
"required" : true,
@@ -349,8 +340,6 @@
"digits" : true
}
},
-
- /* dhis-web-validationrule */
"validationRule" : {
"name" : {
"required" : true,