From 9878d03bc1ec4a37d501ee65b520630235cc86cf Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Sun, 19 Aug 2012 08:49:09 -0700 Subject: [PATCH 1/1] Use XMLHttpRequest POST to send messages --- webclient/rc.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/webclient/rc.html b/webclient/rc.html index a8bc337..da5874a 100644 --- a/webclient/rc.html +++ b/webclient/rc.html @@ -436,10 +436,9 @@ "?id=" + encodeURIComponent(message.ID) + "&text=" + encodeURIComponent(message.Text); for (var i in servers) { - var uri = rcserverbase(servers[i]) + path; - var img = document.createElement("img"); - img.setAttribute("src", uri); - d.appendChild(img); + var xhr = new XMLHttpRequest(); + xhr.open("POST", rcserverbase(servers[i]) + path); + xhr.send(); } } -- 2.44.1