← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4971: minor dataentry bug, display as empty if value is null

 

------------------------------------------------------------
revno: 4971
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-10-18 11:05:15 +0200
message:
  minor dataentry bug, display as empty if value is null
modified:
  dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/responseDataValues.vm


--
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/responseDataValues.vm'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/responseDataValues.vm	2011-08-13 14:05:28 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/responseDataValues.vm	2011-10-18 09:05:15 +0000
@@ -4,7 +4,7 @@
   #foreach( $value in $dataValues )
   {
     "id":"${value.dataElement.id}-${value.optionCombo.id}",
-    "val":"${value.value}"
+    "val":"$!{value.value}"
   }#if( $velocityCount < $size1 ),#end
   #end ],
   "minMaxDataElements": [