← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4854: made group{set} validation use 2 - 160 for name

 

------------------------------------------------------------
revno: 4854
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-10-06 10:32:14 +0200
message:
  made group{set} validation use 2 - 160 for name
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-10-06 07:29:00 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js	2011-10-06 08:32:14 +0000
@@ -104,7 +104,7 @@
     "organisationUnitGroupSet" : {
         "name" : {
             "required" : true,
-            "rangelength" : [ 2, 230 ]
+            "rangelength" : [ 2, 160 ]
         },
         "description" : {
             "required" : true,
@@ -249,13 +249,13 @@
             "required" : true,
             "alphanumericwithbasicpuncspaces" : true,
             "notOnlyDigits" : true,
-            "rangelength" : [ 2, 150 ]
+            "rangelength" : [ 2, 160 ]
         }
     },
     "dataElementGroupSet" : {
         "name" : {
             "required" : true,
-            "rangelength" : [ 2, 230 ]
+            "rangelength" : [ 2, 160 ]
         },
         "description" : {
             "required" : true,
@@ -319,14 +319,14 @@
     "indicatorGroup" : {
         "name" : {
             "required" : true,
-            "rangelength" : [ 2, 150 ],
+            "rangelength" : [ 2, 160 ],
             "alphanumericwithbasicpuncspaces" : true
         }
     },
     "indicatorGroupSet" : {
         "name" : {
             "required" : true,
-            "rangelength" : [ 2, 230 ]
+            "rangelength" : [ 2, 160 ]
         },
         "description" : {
             "required" : true,