← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6017: Minor fix

 

------------------------------------------------------------
revno: 6017
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2012-02-17 12:21:53 +0100
message:
  Minor fix
modified:
  dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js
  dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/completeness/action/GetDataCompletenessAction.java


--
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	2012-02-17 10:35:31 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js	2012-02-17 11:21:53 +0000
@@ -346,6 +346,8 @@
 
         $( this ).focus( valueFocus );
 
+        $( this ).blur( valueBlur );
+
         $( this ).change( function()
         {
             saveBoolean( dataElementId, optionComboId );

=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/completeness/action/GetDataCompletenessAction.java'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/completeness/action/GetDataCompletenessAction.java	2011-12-26 10:07:59 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/completeness/action/GetDataCompletenessAction.java	2012-02-17 11:21:53 +0000
@@ -212,8 +212,8 @@
         OrganisationUnit unit, DataSet dataSet )
     {
         String title = i18n.getString( "reporting_rate_summary" );
-        String subtitle = (unit != null ? unit.getName() : EMPTY) + SPACE
-            + (dataSet != null ? dataSet.getName() : EMPTY);
+        String subtitle = ( unit != null ? unit.getName() : EMPTY ) + SPACE
+            + ( dataSet != null ? dataSet.getName() : EMPTY );
 
         Grid grid = new ListGrid().setTitle( title ).setSubtitle( subtitle );