mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 13:15:30 +01:00
Fix handling of double question marks in chat messages (weird jQuery tricks)
This commit is contained in:
parent
8207559a5f
commit
42365ca563
@ -29,6 +29,7 @@ componentconstructors['chat'] = function(dynmap, configuration) {
|
|||||||
var data = '{"name":'+JSON.stringify(pname?pname:(ip?ip:""))+',"message":'+JSON.stringify(message)+'}';
|
var data = '{"name":'+JSON.stringify(pname?pname:(ip?ip:""))+',"message":'+JSON.stringify(message)+'}';
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
|
contentType: "application/json; charset=utf-8",
|
||||||
url: config.url.sendmessage,
|
url: config.url.sendmessage,
|
||||||
data: data,
|
data: data,
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
|
8
web/js/jquery.min.js
vendored
8
web/js/jquery.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user