← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2369: Data completeness report - Revert back to use untemplate for orgunit tree. And allowing to resiza...

 

------------------------------------------------------------
revno: 2369
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2010-12-14 12:45:00 +0700
message:
  Data completeness report - Revert back to use untemplate for orgunit tree. And allowing to resizable.
modified:
  dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/viewDataCompletenessForm.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-reporting/src/main/webapp/dhis-web-reporting/viewDataCompletenessForm.vm'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/viewDataCompletenessForm.vm	2010-12-13 21:21:33 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/viewDataCompletenessForm.vm	2010-12-14 05:45:00 +0000
@@ -1,6 +1,7 @@
 <script type="text/javascript">
 	jQuery(document).ready( function(){
 		selectionTreeSelection.setListenerFunction( displayCompleteness );
+		jQuery("#selectionTree").resizable();
 	});
 </script>
 
@@ -11,8 +12,12 @@
     <col width="5"/>
     <col width="330"/>    
     <tr>
-	    <td>
-			#organisationUnitSelectionTree( true, false, false )
+	    <td><div id="selectionTree" style="width:325px; height:220px"></div>				
+			<script type="text/javascript">
+				selectionTreeSelection.setMultipleSelectionAllowed( false );
+				selectionTree.clearSelectedOrganisationUnits();
+				selectionTree.buildSelectionTree();
+			</script>
         </td>
         <td></td>
         <td valign="bottom">