← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5132: local vn - Added a supported content type for excel templates.

 

------------------------------------------------------------
revno: 5132
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2011-11-10 13:49:38 +0700
message:
  local vn - Added a supported content type for excel templates.
modified:
  local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/ExcelContentTypeMap.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 'local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/ExcelContentTypeMap.java'
--- local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/ExcelContentTypeMap.java	2011-07-28 09:50:39 +0000
+++ local/vn/dhis-service-spreadsheet-reporting/src/main/java/org/hisp/dhis/reportsheet/ExcelContentTypeMap.java	2011-11-10 06:49:38 +0000
@@ -54,6 +54,7 @@
         List<String> xlsContentTypes = new ArrayList<String>();
 
         xlsContentTypes.add( APPLICATION + XLS );
+        xlsContentTypes.add( APPLICATION + "ms-excel" );
         xlsContentTypes.add( APPLICATION + "vnd.ms-excel" );
         xlsContentTypes.add( APPLICATION + "octet-stream" );