------------------------------------------------------------
revno: 4296
committer: Lars Helge Overland <[email protected]>
branch nick: dhis2
timestamp: Mon 2011-08-15 12:07:21 +0200
message:
  Loading data sets after ouwt is loaded
modified:
  
dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.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-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js	2011-08-14 11:31:51 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js	2011-08-15 10:07:21 +0000
@@ -54,7 +54,9 @@
 {
     selection.setListenerFunction( organisationUnitSelected );
     
-    updateForms();
+    $( "#orgUnitTree" ).bind( "ouwtLoaded", function() {
+    	updateForms();
+    } );
 } );
 
 function addEventListeners()

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to