dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #06890
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1930: Minor fix.
------------------------------------------------------------
revno: 1930
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: trunk
timestamp: Wed 2010-08-18 17:18:39 +0700
message:
Minor fix.
modified:
dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/javascript/dataElementGroup.js
dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/responseExcelItem.vm
dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/responseExcelItems.vm
dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/responseReportItem.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-excel-reporting/src/main/webapp/dhis-web-excel-reporting/javascript/dataElementGroup.js'
--- dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/javascript/dataElementGroup.js 2010-01-08 05:43:53 +0000
+++ dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/javascript/dataElementGroup.js 2010-08-18 10:18:39 +0000
@@ -123,7 +123,7 @@
var listDataElement = document.getElementById('dataElementIds');
listDataElement.options.length = 0;
byId("name").value = xmlObject.getElementsByTagName('name')[0].firstChild.nodeValue;
- byId("code").value = xmlObject.getElementsByTagName('code')[0].firstChild.nodeValue;
+ byId("code").value = getElementValue(xmlObject,'code');
var dataElements = xmlObject.getElementsByTagName('dataElements')[0].getElementsByTagName('dataElement');
for(var i=0;i<dataElements.length;i++){
=== modified file 'dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/responseExcelItem.vm'
--- dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/responseExcelItem.vm 2009-10-27 06:05:22 +0000
+++ dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/responseExcelItem.vm 2010-08-18 10:18:39 +0000
@@ -5,5 +5,5 @@
<row>$excelItem.row</row>
<column>$excelItem.column</column>
<expression>$encoder.xmlEncode( $excelItem.expression )</expression>
- <sheetNo>$encoder.xmlEncode( $excelItem.sheetNo )</sheetNo>
+ <sheetNo>$excelItem.sheetNo</sheetNo>
</excelitem>
\ No newline at end of file
=== modified file 'dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/responseExcelItems.vm'
--- dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/responseExcelItems.vm 2009-11-10 06:39:31 +0000
+++ dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/responseExcelItems.vm 2010-08-18 10:18:39 +0000
@@ -7,7 +7,7 @@
<row>$excelItem.row</row>
<column>$excelItem.column</column>
<expression>$encoder.xmlEncode( $excelItem.expression )</expression>
- <sheetNo>$encoder.xmlEncode( $excelItem.sheetNo )</sheetNo>
+ <sheetNo>$excelItem.sheetNo</sheetNo>
</excelitem>
#end
</excelItems>
\ No newline at end of file
=== modified file 'dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/responseReportItem.vm'
--- dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/responseReportItem.vm 2010-03-25 08:15:35 +0000
+++ dhis-2/dhis-web/dhis-web-excel-reporting/src/main/webapp/dhis-web-excel-reporting/responseReportItem.vm 2010-08-18 10:18:39 +0000
@@ -7,6 +7,6 @@
<row>$reportItem.row</row>
<column>$reportItem.column</column>
<expression>$encoder.xmlEncode( $reportItem.expression )</expression>
- <sheetNo>$encoder.xmlEncode( $reportItem.sheetNo )</sheetNo>
+ <sheetNo>$reportItem.sheetNo</sheetNo>
<textualFormula>$encoder.xmlEncode( $textualFormula )</textualFormula>
</reportItem>
\ No newline at end of file