Trying to fix the problems that happen sometimes in chat.

This commit is contained in:
marcins78@gmail.com
2011-10-18 00:37:00 +00:00
parent 24c94d422f
commit ade2bd74fd

View File

@@ -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,