From f1d38a52b331aa6f90a0dc264a8ee8201e39e5bf Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Sun, 19 Jul 2009 17:11:37 +0000 Subject: [PATCH] Monotone-Parent: 02bca191f3d6f22210597517ed2f42a870e492cc Monotone-Revision: c4cc03e458ff714a9414efcd7a3b1bd9e5a74b88 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-07-19T17:11:37 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ UI/SOGoUI/UIxComponent.m | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 99889aa7a..015c8e34b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2009-07-19 Wolfgang Sourdeau + * UI/SOGoUI/UIxComponent.m (-responseWithStatus:): revert the + default content-type to text/plain; charset=utf-8. + * UI/WebServerResources/SchedulerUI.js: initialize the "listFilter" global var depending on the value of the filter popup. diff --git a/UI/SOGoUI/UIxComponent.m b/UI/SOGoUI/UIxComponent.m index 6d3f19fd1..849d73c67 100644 --- a/UI/SOGoUI/UIxComponent.m +++ b/UI/SOGoUI/UIxComponent.m @@ -604,6 +604,8 @@ static BOOL uixDebugEnabled = NO; response = [context response]; [response setStatus: status]; + [response setHeader: @"text/plain; charset=utf-8" + forKey: @"content-type"]; return response; }