mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-08 05:17:15 +00:00
Monotone-Parent: f78d6c1977f38e0b364a106d6c32efb377c0bdea
Monotone-Revision: 8478b12e221a5c783be93f387cf4f4e1de33d3f9 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-05-20T19:23:43 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
3f5acfe832
commit
3ac42b48a3
3 files changed
+3
-2
No files matched your search
@@ -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!");
|
||||
|
||||
Vendored
+1
-1
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user