← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 17925: Validation rules adjustments

 

------------------------------------------------------------
revno: 17925
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-01-09 13:55:21 +0100
message:
  Validation rules adjustments
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	2014-11-12 15:24:44 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js	2015-01-09 12:55:21 +0000
@@ -260,9 +260,6 @@
             "required" : true,
             "rangelength" : [ 2, 160 ]
         },
-        "conceptId" : {
-            "required" : true
-        },
         "memberValidator" : {
             "required" : true
         }
@@ -290,10 +287,6 @@
         "name" : {
             "required" : true,
             "rangelength" : [ 2, 160 ]
-        },
-        "description" : {
-            "required" : true,
-            "rangelength" : [ 2, 255 ]
         }
     },
     "indicator" : {
@@ -339,10 +332,6 @@
         "name" : {
             "required" : true,
             "rangelength" : [ 2, 160 ]
-        },
-        "description" : {
-            "required" : true,
-            "rangelength" : [ 2, 255 ]
         }
     },
     "indicatorType" : {
@@ -441,11 +430,6 @@
             "alphanumericwithbasicpuncspaces" : true
         }
     },
-    "dataMart" : {
-        "name" : {
-            "required": true
-        }
-    },
     "trackedEntityAttribute" : {
         "name" : {
             "required" : true,