dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #28643
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14316: minor
------------------------------------------------------------
revno: 14316
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-03-20 14:59:53 +0100
message:
minor
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-03-20 13:58:41 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2014-03-20 13:59:53 +0000
@@ -1262,8 +1262,6 @@
getAndInsertDataValues();
displayEntryFormCompleted();
-
- $('document').trigger('dhis2.de.event.dataValuesLoaded');
}
function getAndInsertDataValues()
@@ -1321,11 +1319,12 @@
success: function( json ) // online
{
insertDataValues( json );
- },
- complete: function()
- {
- $( '.indicator' ).attr( 'readonly', 'readonly' );
- }
+ },
+ complete: function()
+ {
+ $( '.indicator' ).attr( 'readonly', 'readonly' );
+ $('document').trigger('dhis2.de.event.dataValuesLoaded');
+ }
} );
}