minor - typo

This commit is contained in:
Heng Sin Low 2009-08-04 06:21:41 +00:00
parent d54fb7cd85
commit 9df9844f3c
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ public class ZkReportViewer extends Window implements EventListener {
{ {
log.log(Level.FINE, "Path="+path + " Prefix="+prefix); log.log(Level.FINE, "Path="+path + " Prefix="+prefix);
} }
File file = File.createTempFile(prefix, ".html", new File(path)); File file = File.createTempFile(prefix, ".xls", new File(path));
m_reportEngine.createXLS(file, AEnv.getLanguage(Env.getCtx())); m_reportEngine.createXLS(file, AEnv.getLanguage(Env.getCtx()));
media = new AMedia(getTitle(), "xls", "application/vnd.ms-excel", file, true); media = new AMedia(getTitle(), "xls", "application/vnd.ms-excel", file, true);
} }