Monotone-Parent: f78d6c1977f38e0b364a106d6c32efb377c0bdea

Monotone-Revision: 8478b12e221a5c783be93f387cf4f4e1de33d3f9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-05-20T19:23:43
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2008-05-20 19:23:43 +00:00
parent 3f5acfe832
commit 3ac42b48a3
3 changed files with 3 additions and 2 deletions

1
NEWS
View File

@ -20,6 +20,7 @@
- removed the limitation that prevented the user of underscore characters in usernames
- added Spanish translation, thanks to Ernesto Revilla
- added Dutch translation, thanks to Wilco Baan Hofman
- applied a patch from Wilco Baan Hofman to let SOGo works correctly through a Squid proxy
0.9.0-20080208 (1.0 rc5)
------------------------

View File

@ -355,7 +355,7 @@ function triggerAjaxRequest(url, callback, userdata, content, headers) {
cLength = "" + content.length;
http.setRequestHeader("Content-Length", "" + cLength);
}
http.send(content);
http.send(content ? content : "");
}
else {
log("triggerAjaxRequest: error creating HTTP Client!");

View File

@ -1219,7 +1219,7 @@ Ajax.Request = Class.create(Ajax.Base, {
this.transport.onreadystatechange = this.onStateChange.bind(this);
this.setRequestHeaders();
this.body = this.method == 'post' ? (this.options.postBody || params) : null;
this.body = this.method == 'post' ? (this.options.postBody || params) : '';
this.transport.send(this.body);
/* Force Firefox to handle ready state 4 for synchronous requests */