← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 3410: fixed dfx export validation

 

------------------------------------------------------------
revno: 3410
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-04-15 16:23:22 +0200
message:
  fixed dfx export validation
modified:
  dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/exportDataValueForm.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-importexport/src/main/webapp/dhis-web-importexport/exportDataValueForm.vm'
--- dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/exportDataValueForm.vm	2011-03-28 14:39:48 +0000
+++ dhis-2/dhis-web/dhis-web-importexport/src/main/webapp/dhis-web-importexport/exportDataValueForm.vm	2011-04-15 14:23:22 +0000
@@ -1,21 +1,21 @@
 <script type="text/javascript">
-	jQuery(document).ready(function(){	
+	jQuery(document).ready(function() {
 		datePickerInRange( 'startDate' , 'endDate' );	
 
         selectionTreeSelection.setMultipleSelectionAllowed( true );
 		selectionTree.clearSelectedOrganisationUnits();
         selectionTree.buildSelectionTree();
-		
-		var selectedOrganisationUnitIds = null;
-
-		function setSelectedOrganisationUnitIds( ids )
-		{
-			selectedOrganisationUnitIds = ids;
-		}
 
 		selectionTreeSelection.setListenerFunction( setSelectedOrganisationUnitIds );
 	});
 
+	var selectedOrganisationUnitIds = null;
+
+	function setSelectedOrganisationUnitIds( ids )
+	{
+		selectedOrganisationUnitIds = ids;
+	}
+
     var i18n_select_organisation_unit = '$encoder.jsEscape( $i18n.getString( "select_organisation_unit" ), "'")';
     var i18n_select_startdate = '$encoder.jsEscape( $i18n.getString( "select_startdate" ), "'")';
     var i18n_select_enddate = '$encoder.jsEscape( $i18n.getString( "select_enddate" ), "'")';