2005-07-21 Helge Hess <helge.hess@opengroupware.org>
+ * mailer.js: fixed a Linux Firefox issue with using POST in
+ XMLHttpRequest (must pass an empty string for a send, not 'null')
+
* mailer.js: fixed a bug with calling the opener on errors
2005-07-20 Helge Hess <helge.hess@opengroupware.org>
if (http) {
// TODO: add parameter to signal that we are only interested in OK
http.open("POST", url + "&jsonly=1", false /* not async */);
- http.send(null);
+ http.send("");
if (http.status != 200) {
// TODO: refresh page?
alert("Message Mark Failed: " + http.statusText);
http = createHTTPClient();
http.open("POST", url, false /* not async */);
- http.send(null);
+ http.send("");
if (http.status != 200) { /* request failed */
failCount++;
http = null;
/* line-through would be nicer, but hiding is OK too */
rowElem = document.getElementById("row_" + rows[i]);
rowElem.style.display = "none";
-
}
if (failCount > 0)