Fix handling of double question marks in chat messages (weird jQuery tricks)

This commit is contained in:
Mike Primm 2012-01-06 00:30:04 -06:00
parent 8207559a5f
commit 42365ca563
2 changed files with 5 additions and 4 deletions

View File

@ -29,6 +29,7 @@ componentconstructors['chat'] = function(dynmap, configuration) {
var data = '{"name":'+JSON.stringify(pname?pname:(ip?ip:""))+',"message":'+JSON.stringify(message)+'}';
$.ajax({
type: 'POST',
contentType: "application/json; charset=utf-8",
url: config.url.sendmessage,
data: data,
dataType: 'json',

File diff suppressed because one or more lines are too long