dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20175
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9100: Minor fix.
------------------------------------------------------------
revno: 9100
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-11-22 11:49:16 +0700
message:
Minor fix.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/jsonTabularReportResult.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-caseentry/src/main/webapp/dhis-web-caseentry/jsonTabularReportResult.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/jsonTabularReportResult.vm 2012-10-31 16:02:05 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/jsonTabularReportResult.vm 2012-11-22 04:49:16 +0000
@@ -17,7 +17,7 @@
["$!encoder.jsonEncode( ${suggestedValue} )"]
#if( $velocityCount < $suggestedValues.size() ),#end
#end],
- "name": "$!col.name",
+ "name": "$!encoder.jsonEncode($!col.name)",
"hidden": "$!col.hidden"
}#if( $velocityCount < $noHeader ),#end
#set($index = $index + 1)
@@ -27,7 +27,7 @@
#foreach( $row in $grid.getRows() )
[
#foreach( $col in $row )
- "$!col"#if( $velocityCount < $noHeader ),#end
+ "$!encoder.jsonEncode($!col)"#if( $velocityCount < $noHeader ),#end
#end
]#if( $velocityCount < $noRows ),#end
#end