← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14354: minor fix

 

------------------------------------------------------------
revno: 14354
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-03-24 09:38:02 +0100
message:
  minor fix
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:59:53 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js	2014-03-24 08:38:02 +0000
@@ -1286,7 +1286,7 @@
     $( '[name="max"]' ).html( '' );
 
     $( '.entryfield' ).filter( ':disabled' ).css( 'background-color', COLOR_GREY );
-    
+
     var params = {
 		periodId : periodId,
         dataSetId : dataSetId,
@@ -1323,7 +1323,7 @@
       complete: function()
       {
         $( '.indicator' ).attr( 'readonly', 'readonly' );
-        $('document').trigger('dhis2.de.event.dataValuesLoaded');
+        $( document ).trigger('dhis2.de.event.dataValuesLoaded');
       }
 	} );
 }