dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #13422
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4296: Loading data sets after ouwt is loaded
------------------------------------------------------------
revno: 4296
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
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()