← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3547: fixed group filter in available indicators (dataset)

 

------------------------------------------------------------
revno: 3547
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2011-05-09 12:51:37 +0200
message:
  fixed group filter in available indicators (dataset)
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataSet.js
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/responseIndicatorGroup.vm


--
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-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataSet.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataSet.js	2011-05-09 10:42:32 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/dataSet.js	2011-05-09 10:51:37 +0000
@@ -120,8 +120,6 @@
   var indicators = indicatorGroup.getElementsByTagName( 'indicators' )[0];
   var indicatorList = indicators.getElementsByTagName( 'indicator' );
 
-  alert(indicatorList.length);
-  
   var availableList = document.getElementById( 'indicatorAvailableList' );
 
   for ( var i = 0; i < indicatorList.length; i++ )

=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/responseIndicatorGroup.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/responseIndicatorGroup.vm	2011-05-09 10:42:32 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/responseIndicatorGroup.vm	2011-05-09 10:51:37 +0000
@@ -2,7 +2,7 @@
 <indicatorGroup>
   <indicators>
     #foreach( $indicator in $indicators )
-      <indicator id="$indicator.id">$encoder.xmlEncode( $indicator.name )</dataElement>
+      <indicator id="$indicator.id">$encoder.xmlEncode( $indicator.name )</indicator>
     #end
   </indicators>
 </indicatorGroup>