← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16192: Section, allow for sections without data elements

 

------------------------------------------------------------
revno: 16192
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-07-21 10:17:48 +0200
message:
  Section, allow for sections without data elements
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/section.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-04-06 12:57:33 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js	2014-07-21 08:17:48 +0000
@@ -152,9 +152,6 @@
         "sectionName" : {
             "required" : true,
             "rangelength" : [ 2, 160 ]
-        },
-        "selectedList" : {
-            "required" : true
         }
     },
     "dataSet" : {

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/section.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/section.js	2014-06-13 07:55:17 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/section.js	2014-07-21 08:17:48 +0000
@@ -3,11 +3,11 @@
 // -----------------------------------------------------------------------------
 
 function editSectionShow( context ) {
-  location.href = 'editSection.action?sectionId=' + context.id;
+    location.href = 'editSection.action?sectionId=' + context.id;
 }
 
 function greySectionShow( context ) {
-  location.href = 'greySection.action?sectionId=' + context.id;
+    location.href = 'greySection.action?sectionId=' + context.id;
 }
 
 function showSectionDetails( context )