← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14315: send dhis2.de.event.dataValuesLoaded event when data values is loaded in aggregated data entry

 

------------------------------------------------------------
revno: 14315
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-03-20 14:58:41 +0100
message:
  send dhis2.de.event.dataValuesLoaded event when data values is loaded in aggregated data entry
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	2014-02-27 04:15:35 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js	2014-03-20 13:58:41 +0000
@@ -1262,6 +1262,8 @@
 
     getAndInsertDataValues();
     displayEntryFormCompleted();
+
+    $('document').trigger('dhis2.de.event.dataValuesLoaded');
 }
 
 function getAndInsertDataValues()