From ade2bd74fd16eb138d9d5c0432b420aa5c23b2a7 Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Tue, 18 Oct 2011 00:37:00 +0000 Subject: [PATCH] Trying to fix the problems that happen sometimes in chat. --- gemp-lotr/gemp-lotr-web/src/main/webapp/js/communication.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/communication.js b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/communication.js index f902ad85f..c1fc61366 100644 --- a/gemp-lotr/gemp-lotr-web/src/main/webapp/js/communication.js +++ b/gemp-lotr/gemp-lotr-web/src/main/webapp/js/communication.js @@ -122,7 +122,7 @@ var GempLotrCommunication = Class.extend({ }); }, startChat: function(room, callback) { - $.ajaxq("chat", { + $.ajax({ type: "GET", url: this.url + "/chat/" + room, cache: false, @@ -134,7 +134,7 @@ var GempLotrCommunication = Class.extend({ }); }, updateChat: function(room, callback) { - $.ajaxq("chat", { + $.ajax({ type: "POST", url: this.url + "/chat/" + room, cache: false, @@ -146,7 +146,7 @@ var GempLotrCommunication = Class.extend({ }); }, sendChatMessage: function(room, message, callback) { - $.ajaxq("chat", { + $.ajax({ type: "POST", url: this.url + "/chat/" + room, cache: false,